Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier 58d482bb04 Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier ece3d6ba0a Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier 17f46cebb0 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:52 +01:00
Cédric Krier 541beb44f1 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:56:39 +01:00
Cédric Krier 550a3509a9 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:13:29 +01:00
Nicolas Évrard 3211e525d8 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:01 +01:00
Cédric Krier 9dcdb68423 Fix most flake8 errors
review8771002
2014-12-02 12:55:13 +01:00
Cédric Krier fa680c612e Cleanup tests
review2491002
2014-01-12 19:59:41 +01:00
Cédric Krier 11bf6a0138 Fix flake8 2013-10-05 12:16:57 +02:00
Cédric Krier bd7412a028 Fix pep8 and pyflakes 2012-04-03 20:06:56 +02:00
Nicolas Évrard d1e1c7372c Use relative imports 2011-12-14 17:04:25 +01:00
Cédric Krier f8fbd3dc8f Add test for depends 2011-08-04 16:57:27 +02:00
Cédric Krier fee8c495a4 Fix test_view for issue1651 2010-08-27 12:18:07 +02:00
Cédric Krier dfa121f37c Add test_suite in setup.py 2010-03-12 17:49:35 +01:00
Cédric Krier d59cadc769 New unittest design 2010-03-04 14:08:12 +01:00
Cédric Krier d0e69c32b2 Add test views 2009-06-26 16:15:31 +02:00