Commit Graph
21 Commits
Author SHA1 Message Date
Nicolas Évrard 2fef479575 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:51:57 +01:00
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
Cédric Krier bcd28ca071 Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:40:41 +01:00
Cédric Krier ace2988e39 Fix missing migration of trigger unittest to TimeDelta 2015-02-09 23:37:33 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Sergi Almacellas Abellana 780f047e10 Use one transaction per test that fails in the database
review13331002
2014-06-17 11:37:45 +02:00
Sergi Almacellas Abellana 4d1e2ba0c0 Use more fine grained exceptions on tests
issue3973
review8431002
2014-06-11 11:22:26 +02:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +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 ab74123eb2 Merge test/ into tests/
review1060002
2013-09-16 11:38:11 +02:00
Sharoon Thomas 6efc1f6a0c Improve trigger tests
review690002
2013-03-06 17:00:34 +01:00
Albert Cervera i Areny 30b1403cdc Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01: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
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +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 54e2a3fd0b Fix maxint to work on amd64 2010-12-19 23:37:42 +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 e8c74cbd67 Fix typo in trigger unittest 2010-06-05 10:05:58 +02:00
Cédric Krier 1513426987 Add ir.trigger to trigger ModelStorage change 2010-05-29 15:58:49 +02:00