Cédric Krier
80e1611469
Support testNamePatterns for doc tests
...
issue11423
review382481002
2022-04-25 18:11:19 +02:00
Cédric Krier
6611883db9
Replace test setuptools command by unittest discover
...
issue9215
review389851002
2022-04-16 18:30:18 +02:00
Cédric Krier
d070cc25e2
Follow isort formatting
...
issue10928
2021-12-11 17:58:43 +01:00
David Harper
ced1dd1a9d
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier
839a9843e8
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
362d1e385c
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
c6f8e06a4c
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier
be105f6424
Remove accounts from products
...
issue3805
review45111002
2018-06-20 12:09:50 +02:00
Cédric Krier
4cc3fbf20c
Remove unused set_tax_code import in scenario
2018-03-16 17:40:07 +01:00
Cédric Krier
d6a46054fa
Add set_user tools for test scenario
...
When changing the user of proteus, the context should be reloaded.
issue6652
review42551002
2017-08-02 19:38:21 +02:00
Cédric Krier
a6a07360db
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:47 +02:00
Cédric Krier
b4419276f4
No need to set password on scenario user
...
The new constraint on user password prevents to use login as password.
2017-04-30 00:22:01 +02:00
Nicolas Évrard
190bdf4d4f
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:47 +02:00
Cédric Krier
d9f649bc8e
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:59:32 +02:00
Cédric Krier
ecfed9bad4
Merge invoice and credit note
...
issue5225
review18921002
2016-03-20 22:59:23 +01:00
Cédric Krier
8316677602
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:04 +01:00
Jonathan Levy
675cfe2a8f
Add Python3 support
...
issue3211
review19061003
2016-03-09 20:59:04 +01:00
Cédric Krier
c71cba496a
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:04:05 +02:00
Cédric Krier
a0795f8281
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:57 +01:00
Nicolas Évrard
2bed9dd96c
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:08 +01:00
Cédric Krier
a12e90ebfb
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:49 +01:00
Cédric Krier
dcda5901c8
Add some test tools to ease scenario writing
...
review11331002
2014-10-24 10:44:58 +02:00
Cédric Krier
8074074a90
Use new doctest setup/teardown
...
issue3627
review7401002
2014-09-04 08:45:28 +02:00
Nicolas Évrard
147d8e1503
Split confirmed state into confirmed and processing
...
issue3874
review7261002
2014-07-02 19:04:58 +02:00
Cédric Krier
7028c811d5
Cleanup tests
...
review2491002
2014-01-12 20:00:02 +01:00
Cédric Krier
0ca306cbe6
Use common doctest_dropdb
...
review2151002
2013-12-18 18:30:55 +01:00
Cédric Krier
b59c6a5d81
Fix flake8
2013-10-05 12:17:18 +02:00
Cédric Krier
abbc6177e2
Migration to python-sql
...
review1001002
2013-09-06 22:34:37 +02:00
Cédric Krier
61fa0940ae
Delete non line type before unlink invoice lines
...
issue3001
2013-03-24 23:25:45 +01:00
Cédric Krier
378d36c7ad
Remove _inherits
...
review670002
2013-03-20 22:51:04 +01:00
Nicolas Évrard
1f61c6b665
Add doctests
2012-10-17 18:55:03 +02:00
Cédric Krier
5b7d4b8591
Fix pep8 and pyflakes
2012-04-03 20:07:32 +02:00
Nicolas Évrard
da84599133
Use relative imports
2011-12-14 17:04:17 +01:00
Cédric Krier
b8c2bf00ce
Add test for depends
2011-08-04 16:57:39 +02:00
Cédric Krier
4404d240f7
Fix test_view for issue1651
2010-08-27 12:18:25 +02:00
Cédric Krier
23ebd91a13
Add test_suite in setup.py
2010-03-12 17:49:40 +01:00
Cédric Krier
32ef284e36
New unittest design
2010-03-04 14:12:31 +01:00
Cédric Krier
6e0cc46633
Add test views
2009-09-08 20:25:44 +02:00