Commit Graph
29 Commits
Author SHA1 Message Date
Cédric Krier 08a1205d57 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier 31d94cc4c2 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 a95fe776ad Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:17 +01:00
Cédric Krier e38c5f6a59 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier 33a16184d3 Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:48 +01:00
Cédric Krier f0954f9572 Reset progress and status on copied work
issue9284
review309511002
2020-05-01 00:22:07 +02:00
Cédric Krier 38e3afba86 Do not re-use children task instance in test scenario
The task instance is not updated when the parent project is saved. So it keep
the former timestamp in memory which raise concurrency exceptions.

issue9101
2020-03-05 22:59:00 +01:00
Cédric Krier 83a89ab8ac Make project status configurable
issue7746
review64411002
2020-01-28 11:45:54 +01:00
Cédric Krier 573cabd6b1 Fill default timesheet work from project relate
We set in the context a specific key to search for project work in
default_work. And the relate fills this context key.

issue7777
review48641002
2018-10-25 21:01:10 +02:00
Sergi Almacellas Abellana 68742ef185 Add test for deleting timesheet works from projects
issue5840
review21241003
2016-09-12 11:25:03 +02:00
Cédric Krier f1fff63d30 Use origin on timesheet work and make timesheet available editable
issue5599
review25361002
2016-06-24 09:29:57 +02:00
Cédric Krier d19fb88425 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:59 +01:00
Cédric Krier c08c0e1cf4 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:57 +01:00
Cédric Krier 15733cff51 Uses own parent, name for work
This is to simplify the tree structure of the works.

issue4938
review17431002
2015-09-07 14:00:31 +02:00
Cédric Krier 08b24e7db1 Use TimeDelta field
issue4026
review11771002
2015-02-09 23:02:30 +01:00
Cédric Krier 31f8642673 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:51 +01:00
Cédric Krier a294ac7552 Add tox and drone
issue4431
2015-01-25 16:08:34 +01:00
Nicolas Évrard 7c6289f7c0 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:07 +01:00
Cédric Krier e215f98c31 Fix most flake8 errors
review8771002
2014-12-02 12:55:41 +01:00
Cédric Krier 82d67e0392 Add unittest for sum_tree
review2931002
2014-01-26 22:13:37 +01:00
Cédric Krier 4a85211d1e Cleanup tests
review2491002
2014-01-12 19:59:57 +01:00
Cédric Krier fc9e830c5b Fix flake8 2013-10-05 12:17:13 +02:00
Cédric Krier c9117e3ffb Fix pep8 and pyflakes 2012-04-03 20:07:27 +02:00
Nicolas Évrard 820f034b4d Use relative imports 2011-12-14 17:04:16 +01:00
Cédric Krier 6d62ce17ae Add test for depends 2011-08-04 16:57:36 +02:00
Cédric Krier 6f27b28870 Fix test_view for issue1651 2010-08-27 12:18:22 +02:00
Cédric Krier 94b990054e Add test_suite in setup.py 2010-03-12 17:49:39 +01:00
Cédric Krier 50eb06da0d New unittest design 2010-03-04 14:11:46 +01:00
Cédric Krier 9634616eb7 Add test views 2009-06-28 15:12:56 +02:00