Commit Graph
24 Commits
Author SHA1 Message Date
Cédric Krier abd8bfe031 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier 40485f396d Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:24 +02:00
Cédric Krier 559135f17e Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
David Harper 58b6a1534b Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier fe44ac01f9 Allow not time based product on work
They are considered as fixed prices.

issue7853
review289011002
2020-03-28 13:06:21 +01:00
Cédric Krier 438448570a 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:53 +01:00
Cédric Krier 09057d1871 Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Sergi Almacellas Abellana 365bb3809a Add test scenario
issue6982
review41701002
2017-12-14 09:48:42 +01:00
Cédric Krier 773b677f39 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:02 +01:00
Cédric Krier 2c54ec4dc3 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:54 +01:00
Nicolas Évrard 72db61330b Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:07 +01:00
Cédric Krier 4fabfe0e1f Fix most flake8 errors
review8771002
2014-12-02 12:55:45 +01:00
Cédric Krier 2d124644b1 Cleanup tests
review2491002
2014-01-12 20:00:00 +01:00
Cédric Krier 041175b8dc Fix flake8 2013-10-05 12:17:16 +02:00
Sergi Almacellas Abellana f54960734f Split funcionality into new module timesheet_cost
issue3258
review929002
2013-07-14 10:43:42 +02:00
Cédric Krier 54e6e34ab8 Remove _inherits
review670002
2013-03-20 22:51:01 +01:00
Cédric Krier 26313dc0c1 Add unittest for compute_cost_price
issue2720
review570002
2012-10-19 00:12:23 +02:00
Cédric Krier 2d12659903 Fix pep8 and pyflakes 2012-04-03 20:07:30 +02:00
Nicolas Évrard 36d9257968 Use relative imports 2011-12-14 17:04:28 +01:00
Cédric Krier 44eb4ac0a8 Add test for depends 2011-08-04 16:57:37 +02:00
Cédric Krier c3f1871d86 Fix test_view for issue1651 2010-08-27 12:18:23 +02:00
Cédric Krier dae84c98f2 Add test_suite in setup.py 2010-03-12 17:49:40 +01:00
Cédric Krier d7126b7673 New unittest design 2010-03-04 14:12:07 +01:00
Cédric Krier 15573a41ac Add test views 2009-06-28 19:06:27 +02:00