Commit graph

34 commits

Author SHA1 Message Date
Bertrand Bordage
b7f3c35502 Fixes the float test on MySQL. 2015-10-28 17:45:23 +01:00
Bertrand Bordage
87ed73390f Tests and handles Decimal type in query parameters. 2015-10-28 17:08:03 +01:00
Bertrand Bordage
6d6bbdeb6f Tests FloatField and cache queries using it. 2015-10-28 16:51:26 +01:00
Bertrand Bordage
9cf0cd318a Adds tests for UUIDField and DurationField and cache their queries. 2015-10-28 16:19:33 +01:00
Bertrand Bordage
7e3e1dabb9 Adds tests for IP addresses. 2015-10-28 15:43:57 +01:00
Bertrand Bordage
0832e35321 Tests timezones. 2015-10-04 21:04:54 +02:00
Bertrand Bordage
7efb8ae232 Adds tests for many-to-many managers. 2015-10-02 23:19:02 +02:00
Bertrand Bordage
1c1b6ebd26 Add 2 test for foreign key relations. 2015-10-02 21:04:33 +02:00
Bertrand Bordage
9938b54123 Merge branch 'master' into django-1.8
Conflicts:
	cachalot/cache.py
	cachalot/monkey_patch.py
	cachalot/tests/read.py
	cachalot/utils.py
	tox.ini
2015-10-02 18:39:04 +02:00
Bertrand Bordage
ba34e6c1c6 Updates a test name and description. 2015-06-19 19:33:46 +02:00
Bertrand Bordage
024676f6e2 Adds a test for BinaryField in order to test unknown parameters types. 2015-06-19 18:50:29 +02:00
Bertrand Bordage
9f672d2373 Adds tests for two newly discovered minor bugs. 2015-05-24 18:13:18 +02:00
Bertrand Bordage
c2d62dbad3 Uses database cursors as context managers. 2015-04-11 02:04:53 +02:00
Bertrand Bordage
c8943103bf Adds a test for unicode SELECTs. 2015-03-09 21:57:31 +01:00
Bertrand Bordage
c9b1269210 Adds a test for unicode table names. 2015-03-09 20:07:14 +01:00
Bertrand Bordage
76b2c08dc8 Adds more rare advanced queries not handled by cachalot. 2015-02-17 23:57:58 +01:00
Bertrand Bordage
67c05ed460 Adds 2 tests for HAVING queries. 2015-02-17 21:47:41 +01:00
Bertrand Bordage
c578cbff8a Fixes a test. 2015-01-18 18:11:21 +01:00
Bertrand Bordage
5e5ba9321d Removes an invalid test.
`cursor.executemany` should never accept SELECTs. In practice, MySQL accepts it but returns erroneous data.
But SQLite and PostgreSQL are raising an exception, as expected.
2014-12-07 03:40:27 +01:00
Bertrand Bordage
3293c2c644 Adds tests for cursor.executemany. 2014-12-07 02:38:10 +01:00
Bertrand Bordage
cf53a6e683 Makes sure a cache key wasn’t invalidated in the meantime. 2014-11-20 14:33:26 +01:00
Bertrand Bordage
ae0ca73108 Revert "Small simplification in a test."
This reverts commit c084568225.
2014-11-03 23:49:20 +01:00
Bertrand Bordage
c084568225 Small simplification in a test. 2014-11-03 22:57:19 +01:00
Bertrand Bordage
a8fa93ebd3 Removes the hack for the number of queries with MySQL. 2014-10-29 20:00:33 +01:00
Bertrand Bordage
ddfbfba75d Caches all queries resulting of a `Queryset.extra`. 2014-10-29 19:38:33 +01:00
Bertrand Bordage
5f94747ae6 Adds CACHALOT_CACHE_RANDOM. 2014-10-29 17:50:36 +01:00
Bertrand Bordage
38065f9454 Fixes the number of queries for SQLite. 2014-10-29 14:57:01 +01:00
Bertrand Bordage
7bfd570554 Adds tests for multi-table inheritance. 2014-10-29 13:46:27 +01:00
Bertrand Bordage
1f1697891b Adds more multi-database tests. 2014-10-21 19:51:03 +02:00
Bertrand Bordage
aa1d367c89 Changes a skip condition. 2014-10-21 18:22:24 +02:00
Bertrand Bordage
19f306054d Adds multi-database support. 2014-10-20 23:43:10 +02:00
Bertrand Bordage
65a8008073 Adds a basic multi-database test. 2014-10-20 22:18:00 +02:00
Bertrand Bordage
a4f766fd14 Adds tests for select_for_update. 2014-10-20 17:25:20 +02:00
Bertrand Bordage
0da4880442 Separates tests in several files. 2014-10-20 15:40:37 +02:00