Hello all!

I've read this: https://docs.djangoproject.com/en/3.1/intro/contributing/

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'...

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/75e140c4-facf-456f-8605-80a72662cf03n%40googlegroups.com.

Reply via email to