But after running my tests I get the following failure (when running all or individual). Any thoughts / suggestions would be much appreciated.
(django) skylercain:~/code/django/tests [master]$ ./runtests.py schema.tests.SchemaTests.test_db_table
Testing against Django installed in '/Users/skylercain/code/django/django'
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
F
======================================================================
FAIL: test_db_table (schema.tests.SchemaTests)
Tests renaming of the table
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/skylercain/code/django/django/test/utils.py", line 382, in inner
return func(*args, **kwargs)
File "/Users/skylercain/code/django/tests/schema/tests.py", line 2339, in test_db_table
self.assertForeignKeyExists(Book, "author_id", "schema_otherauthor")
File "/Users/skylercain/code/django/tests/schema/tests.py", line 213, in assertForeignKeyExists
self.assertEqual(constraint_fk, (expected_fk_table, field))
AssertionError: Tuples differ: ('schema_author', 'id') != ('schema_otherauthor', 'id')
First differing element 0:
'schema_author'
'schema_otherauthor'
- ('schema_author', 'id')
+ ('schema_otherauthor', 'id')
? +++++
----------------------------------------------------------------------
Ran 1 test in 0.015s
FAILED (failures=1)
Destroying test database for alias 'default'...