Commit Graph
26 Commits
Author SHA1 Message Date
David Harper 7ff991e77b Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:08 +01:00
Sergi Almacellas Abellana 9c330af589 Add default locations on products
issue9214
review299351002
2020-05-22 11:35:01 +02:00
Cédric Krier 6538351bbf 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 24ac6401a0 Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.

issue6573
review254081002
2019-09-07 23:38:20 +02:00
Cédric Krier 72d51f037c Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier 1b9206a035 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier d7e4f5e03f Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:51 +02:00
Cédric Krier 523bace79c Add producible to product template
issue4590
2017-02-14 09:30:05 +01:00
Nicolas Évrard 33296eb65d Use activate instead of install for module activation for production scenario
issue1456
2016-10-21 18:03:00 +02:00
Nicolas Évrard 770d8dc7ad Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:51 +02:00
Florian Preinstorfer 633ec7360c Use the default location of product for production output moves
issue4539
review30621004
2016-10-20 11:59:00 +02:00
Cédric Krier 8c796b375c Use install_modules tools in scenario
issue5794
2016-08-26 10:00:01 +02:00
Xavier Codinas 4c6ab06557 Add test scenario
issue5688
review25461002
2016-07-28 10:03:27 +02:00
Cédric Krier 18a5e5bae0 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:29 +01:00
Cédric Krier d09339ea4a 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:16 +01:00
Nicolas Évrard 1969108d4f Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:10 +01:00
Cédric Krier 1480e8d2cc Fix most flake8 errors
review8771002
2014-12-02 12:56:12 +01:00
Cédric Krier b0402a68fd Cleanup tests
review2491002
2014-01-12 20:00:18 +01:00
Cédric Krier 6d3a3a865d Fix flake8 2013-10-05 12:17:31 +02:00
Cédric Krier 0b6455d912 Fix pep8 and pyflakes 2012-04-03 20:07:49 +02:00
Nicolas Évrard 6fd702c695 Use relative imports 2011-12-14 17:04:02 +01:00
Cédric Krier 83ac1fe3b4 Add test for depends 2011-08-04 16:57:45 +02:00
Cédric Krier f2dc41d11e Fix test_view for issue1651 2010-08-27 12:18:30 +02:00
Cédric Krier 568f7b364e Add test_suite in setup.py 2010-03-12 17:49:42 +01:00
Cédric Krier ac1e57e732 New unittest design 2010-03-04 14:13:47 +01:00
Cédric Krier 19214ee259 Add test views 2009-07-31 17:34:19 +02:00