Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier 701527b18b Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:19 +02:00
Cédric Krier a1b481e550 Follow isort formatting
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier 1095ed793d 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:54 +01:00
Cédric Krier f6548861d3 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:57:25 +01:00
Cédric Krier 52248deba1 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:14:12 +01:00
Nicolas Évrard 2d58b62e6a Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:10 +01:00
Cédric Krier fee43a0043 Fix most flake8 errors
review8771002
2014-12-02 12:56:08 +01:00
Cédric Krier c4d52e08d8 Cleanup tests 2014-01-12 21:13:47 +01:00
Cédric Krier 3582203f46 Fix flake8 2013-10-05 12:17:29 +02:00
Cédric Krier 63a42068c9 Fix pep8 and pyflakes 2012-04-03 20:07:47 +02:00
Nicolas Évrard 4936372ff4 Use relative imports 2011-12-14 17:04:06 +01:00
Cédric Krier 9279c4a771 Add test for depends 2011-08-04 16:57:44 +02:00
Cédric Krier 0fe7f74268 Fix test_view for issue1651 2010-08-27 12:18:29 +02:00
Cédric Krier 00c83094ee Add test_suite in setup.py 2010-03-12 17:49:42 +01:00
Cédric Krier a6e8fa83c2 New unittest design 2010-03-04 14:13:34 +01:00
Cédric Krier 14a03afd68 Add test views 2009-06-29 10:06:57 +02:00