Cédric Krier
f096726b28
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier
d37671c989
Allow root to behave as any company or employee
...
issue6652
review36491002
2017-08-02 19:32:08 +02:00
Cédric Krier
47ffc61032
Use empty context to call User.get_preferences
...
It is needed if we want to get the real value stored on the user record.
issue5798
review26561002
2016-08-23 18:46:54 +02:00
Cédric Krier
d7e6e2723b
Add missing extra import in tests
2016-03-11 22:38:51 +01:00
Cédric Krier
0a04b51086
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:37 +01:00
Cédric Krier
c3a8049cab
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:12:36 +01:00
Cédric Krier
7d3ecacced
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:27 +01:00
Cédric Krier
23bf4b51dc
Add tox and drone
...
issue4431
2015-01-23 13:10:03 +01:00
Nicolas Évrard
b96487ac94
Report API refactorization
...
review8831002
2015-01-20 18:49:55 +01:00
Nicolas Évrard
32ea9897a1
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:00 +01:00
Cédric Krier
be3c179a72
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:12 +01:00
Cédric Krier
164d9fc8b3
Add some test tools to ease scenario writing
...
review11331002
2014-10-24 10:44:35 +02:00
Cédric Krier
286dcb2805
Anonymise tests
...
review2681002
2014-01-16 22:10:24 +01:00
Cédric Krier
8cf235c9d2
Cleanup tests
...
review2491002
2014-01-12 19:59:40 +01:00
Cédric Krier
4d9712e6c0
Fix flake8
2013-10-05 12:16:54 +02:00
Cédric Krier
2e965c13c2
Remove _inherits
...
review670002
2013-03-20 22:50:39 +01:00
Albert Cervera i Areny
9f3ba2f481
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
3dca89a7c5
Active Record
2012-09-24 22:17:50 +02:00
Cédric Krier
25d6c5a853
Fix pep8 and pyflakes
2012-04-03 20:06:55 +02:00
Nicolas Évrard
cef8224ec3
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:54 +01:00
Nicolas Évrard
979ce8d924
Use relative imports
2011-12-14 17:04:18 +01:00
Cédric Krier
ac1b913bd9
Fix Transaction.start to use keyword argument for context
2011-11-28 14:45:13 +01:00
Nicolas Évrard
50ab00c864
fix pyflake errors
...
review168001
2011-11-02 16:09:02 +01:00
Cédric Krier
a9e7f9eeb7
Add test for depends
2011-08-04 16:57:26 +02:00
Cédric Krier
48a7479069
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:17:43 +02:00
Cédric Krier
2e31656db8
Allow to change user company with context
...
review30004
2011-06-07 11:33:08 +02:00
Cédric Krier
9f3fd8ba1c
Don't commit recursive test
2011-03-09 19:20:57 +01:00
Cédric Krier
2238de6fa4
Fix test_view for issue1651
2010-08-27 12:18:06 +02:00
Cédric Krier
e5780ccff0
Remove trailing space
2010-08-20 08:22:18 +02:00
Cédric Krier
c3dda1c3d2
Add missing with_statement import
2010-08-20 08:22:10 +02:00
Phillip Heller
e17ab38e90
Update for new Transaction
2010-08-10 11:58:47 -04:00
Cédric Krier
b1ce73437f
Add test_suite in setup.py
2010-03-12 17:49:35 +01:00
Cédric Krier
05ee2c437f
New unittest design
2010-03-04 14:07:57 +01:00
Cédric Krier
cf3c6f2f8e
Guidelines
2009-06-26 16:14:50 +02:00
Cédric Krier
302e0eb32b
Add test views
2009-06-26 16:14:38 +02:00
Cédric Krier
e22dc8371c
Fix unittest for new tests module
2009-01-28 12:37:02 +01:00
Cédric Krier
0a03ae44fa
Add tests script
2008-08-21 19:42:55 +02:00