Cédric Krier
1738a4ec35
Add ir.message and use custom exceptions
...
issue3672
review35291002
2018-12-29 14:19:08 +01:00
Cédric Krier
c1b8ee10c6
Add has_select_for on Database
...
- Use has_select_for for ir.sequence.strict instead of lock
issue6134
review32911002
2017-01-25 23:21:57 +01:00
Nicolas Évrard
ccbb43cb1d
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:51:56 +02:00
Cédric Krier
1a4687d905
Add test for Sequence number next
...
issue5329
review17931002
2016-03-16 22:04:18 +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
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01: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
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
Cédric Krier
fc6c6cfdda
Migration to python-sql
...
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
review1001002
2013-09-06 22:32:37 +02: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
d1475e74f9
Fix sequence test for MySQL
...
MySQLdb always return a long and hex append 'L' when converting long so long
must be converted into int before calling hex.
2010-09-25 16:46:51 +02:00
Cédric Krier
56e8ebe5d0
Add timestamp sequence
2010-09-02 17:31:51 +02:00