django/tests/modeltests/fixtures/fixtures
Ramiro Morales da5c766dbb Tweaked test added in r16873 so it also works with Oracle.
* Changed invalid fixture from trying to insert a NULL value in a
  null=False CharField to try with a DateTimeField instead because our
  Oracle backend allows NULLs for CharFields than can be blank and that
  insert wouldn't generate an error.

* cx_Oracle raises a
  `DatabaseError: Could not load fixtures.Article(pk=1): ORA-01407: cannot update ("USER_DEFAULT"."FIXTURES_ARTICLE"."PUB_DATE") to NULL'`
  instead of an IntegrityError like the rest of the DB-API drivers we
  support, changed the error message we test for to start simply with
  'Error' to catch both messages.

  We might want to consider converting DatabaseError to IntegrityError
  in the backend when the error code is ORA-1407.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-17 03:29:07 +00:00
..
db_fixture_1.default.json Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
db_fixture_2.default.json.gz Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
db_fixture_3.nosuchdb.json Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
fixture1.json Fixed #5610 -- Added the ability for dumpdata to take individual model names, as well as entire applications. Thanks to David Reynolds for his work on this patch. 2009-02-28 05:35:22 +00:00
fixture2.json Fixes #2333 -- Added test fixtures framework. 2007-03-01 13:11:08 +00:00
fixture2.xml Fixes #2333 -- Added test fixtures framework. 2007-03-01 13:11:08 +00:00
fixture3.xml Fixes #2333 -- Added test fixtures framework. 2007-03-01 13:11:08 +00:00
fixture4.json.zip Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck. 2008-11-24 20:42:09 +00:00
fixture5.json.gz Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck. 2008-11-24 20:42:09 +00:00
fixture5.json.zip Fixed #4924: added support for loading compressed fixtures. Thanks to Lars Yencken and Jeremy Dunck. 2008-11-24 20:42:09 +00:00
fixture6.json Fixed #7052 -- Added support for natural keys in serialization. 2009-12-14 12:39:20 +00:00
fixture7.xml Fixed #7052 -- Added support for natural keys in serialization. 2009-12-14 12:39:20 +00:00
fixture8.json Fixed #7052 -- Added support for natural keys in serialization. 2009-12-14 12:39:20 +00:00
fixture9.xml Fixed #7052 -- Added support for natural keys in serialization. 2009-12-14 12:39:20 +00:00
initial_data.json Fixes #2333 -- Added test fixtures framework. 2007-03-01 13:11:08 +00:00
invalid.json Tweaked test added in r16873 so it also works with Oracle. 2011-10-17 03:29:07 +00:00