Commit Graph
11 Commits
Author SHA1 Message Date
Cédric Krier 4d9148d115 Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier 9abcd9257e 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 d6dcca9df9 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:53 +01:00
Cédric Krier bc54d02da8 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:56 +01:00
Nicolas Évrard b059c33f4f Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:53 +01:00
Cédric Krier a292f0899f Fix most flake8 errors
review8771002
2014-12-02 12:54:40 +01:00
Cédric Krier 2202a25493 Cleanup tests
review2491002
2014-01-12 19:59:23 +01:00
Cédric Krier 70088f1a80 Fix flake8 2013-10-05 12:16:32 +02:00
Cédric Krier 7982ede63e Fix pep8 and pyflakes 2012-04-03 20:06:22 +02:00
Nicolas Évrard 0477832010 Use relative imports 2011-12-14 17:04:17 +01:00
Cédric Krier b367f107a2 Add test for depends 2011-08-04 16:58:43 +02:00