Commit Graph
13 Commits
Author SHA1 Message Date
Cédric Krier 62873ca1a0 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00
Cédric Krier cbe5f27534 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier 690e588f17 Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier 24221926d3 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:55:42 +01:00
Jonathan Levy ee2242ff70 Add Python3 support
issue3211
review21721002
2016-02-25 23:06:16 +01:00
Cédric Krier 78a45f1004 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:11:46 +01:00
Cédric Krier fb2f3cdbf2 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:12:49 +01:00
Cédric Krier 6ed24cfd87 Don't run doctest from account module 2015-01-20 18:19:50 +01:00
Nicolas Évrard cbed52fedd Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:52 +01:00
Cédric Krier 56c27e679e Fix most flake8 errors
review8771002
2014-12-02 12:54:33 +01:00
Nicolas Évrard 695fb11ee2 Make party mandatory / invisible according to account configuration
issue3731
review14341002
2014-09-19 18:44:54 +02:00
Cédric Krier 81cbdd74b4 Fix wrongly readonly started transaction in unittest 2014-03-18 11:33:37 +01:00
Cédric Krier d9a35265ae Initial commit
review193002
2014-03-17 23:10:33 +01:00