Commit Graph
18 Commits
Author SHA1 Message Date
Cédric Krier da1be07832 Make TestCase create and drop its database
and add with_transaction decorator.

issue5263
review20711002
2016-02-06 19:10:35 +01:00
Sergi Almacellas Abellana 180d906316 Only return default record if no domain supplied on ModelSingleton search
issue4766
review15401002
2015-06-15 10:19:01 +02:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier a6ffa18908 Add run-tests script and cleanup tests
issue2121
issue2420
review2491002
2014-01-12 19:58:22 +01:00
Cédric Krier 838d50b736 Add test for reading ModelSingleton rec_name via default values
review1114003
2013-10-05 18:05:45 +02:00
Cédric Krier ab74123eb2 Merge test/ into tests/
review1060002
2013-09-16 11:38:11 +02:00
Albert Cervera i Areny 30b1403cdc Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Albert Cervera i Areny ec1761ddca Use None instead of False in ModelSingleton
issue2932
review617002
2012-12-16 23:54:41 +01:00
Cédric Krier 529c992753 Fix comparison test on Singleton
Singleton can not be compared because the id could change meantime.
2012-09-28 18:06:27 +02:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 7b498aab63 Fix Transaction.start to use keyword argument for context
review178005
2011-11-28 14:44:39 +01:00
Cédric Krier 852f04dc51 Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:16:15 +02:00
Cédric Krier 9f3986e7e3 Add values for all fields_names when singleton doesn't exist 2010-12-03 17:23:51 +01:00
Cédric Krier d9636351ec Improve test on read of ModelSingleton to return only one value 2010-12-03 17:23:05 +01:00
Cédric Krier df1fd283ac New transaction management
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier 9eedc60aa0 Improve unittest to run test_suite inside setuptools 2010-03-12 17:47:49 +01:00
Cédric Krier 20741b613d Improve unittests to run trytond from tests
Use sqlite as default backend
Add skiptest attribute to data tag
Add option to test_tryton to run tests from all modules
2010-03-04 14:02:27 +01:00