Cédric Krier
23c45fc511
Group records when calling set method for field with the same value
...
We need to loop to compare the values instead of using a dictionary because the
values are not necessary hashable. But it is still an improvement compared to
calling the set method for each record.
issue5398
review19111002
2016-03-19 12:07:27 +01:00
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
56e040dd31
backend.name is a function since changeset 01399128964f
2014-09-07 00:27:56 +02:00
Cédric Krier
e0b995abbe
Refactore configuration to allow easy extention
...
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier
e64956cffe
Use unittest skipIf
...
review9491002
2014-07-20 12:48:56 +02:00
Cédric Krier
e60274bd27
Fix MySQL tests
...
- Force UTC timezone on MySQL connection
- Add 1s sleep to test check timestamp
review2801002
2014-01-21 21:12:55 +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
6f179949ed
Commit cursor in timestamp unittest
...
cursor must be committed between each changes otherwise NOW() returns always
the same timestamp.
2013-09-23 00:00:51 +02:00
Cédric Krier
1a8c5aae1c
Fix check timestamp and add unittest
...
review1087003
2013-09-22 14:28:46 +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
Cédric Krier
d7611e22e7
Remove unittest.skipIf decorator because it is only in >= 2.7
2012-10-10 09:31:53 +02:00
Pierre-Louis Bonicoli
4e4fe87dfa
Fix message when a required field is missing
...
issue2657
review399002
2012-10-09 11:08:56 +02:00