Skip to content

Instantly share code, notes, and snippets.

@egrim
Created July 7, 2017 16:03
Show Gist options
  • Save egrim/062de1ba30936a63c99675f17aa592ff to your computer and use it in GitHub Desktop.
Save egrim/062de1ba30936a63c99675f17aa592ff to your computer and use it in GitHub Desktop.
Migration tests that leave tables behind
diff --git a/tests/migrations/test_base.py b/tests/migrations/test_base.py
index 84a5117751..84ee5b4a15 100644
--- a/tests/migrations/test_base.py
+++ b/tests/migrations/test_base.py
@@ -20,12 +20,20 @@ class MigrationTestBase(TransactionTestCase):
available_apps = ["migrations"]
multi_db = True
+ def setUp(self):
+ self.before_tables = {}
+ for db in connections:
+ self.before_tables[db] = set(connections[db].introspection.table_names())
+
def tearDown(self):
# Reset applied-migrations state.
for db in connections:
recorder = MigrationRecorder(connections[db])
recorder.migration_qs.filter(app='migrations').delete()
+ after_tables = set(connections[db].introspection.table_names())
+ self.assertEqual(self.before_tables[db], after_tables)
+
def get_table_description(self, table, using='default'):
with connections[using].cursor() as cursor:
return connections[using].introspection.get_table_description(cursor, table)
$ ./runtests.py migrations
Testing against Django installed in '/Users/egrim/scratch/django/django' with up to 8 processes
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (0 silenced).
...................FFFF............................................................................................................................................................................................................................................................................................................................FF..........FFFFFFFFFFFsFFFF.FFF.FF..FF.FF.FFF...FFFFFFFFFFFFFFFF.FFFFFFF.FF...FF..F.....F.......
======================================================================
FAIL: test_run_python (migrations.test_multidb.MultiDBOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_mltdb_runpython_pony'
======================================================================
FAIL: test_run_python2 (migrations.test_multidb.MultiDBOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_mltdb_runpython2_pony'
======================================================================
FAIL: test_run_sql (migrations.test_multidb.MultiDBOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_mltdb_runsql_pony'
======================================================================
FAIL: test_run_sql2 (migrations.test_multidb.MultiDBOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_mltdb_runsql2_pony'
======================================================================
FAIL: test_migrate_with_system_checks (migrations.test_commands.MigrateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'migrated_app_tribble'
'migrated_app_author'
======================================================================
FAIL: test_regression_22823_unmigrated_fk_to_migrated_model (migrations.test_commands.MigrateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'migrated_unapplied_app_otherauthor'
======================================================================
FAIL: test_add_binaryfield (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adbinfl_pony'
======================================================================
FAIL: test_add_charfield (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adchfl_pony'
======================================================================
FAIL: test_add_field (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adfl_pony'
======================================================================
FAIL: test_add_field_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adflmm_pony'
'test_adflmm_stable'
======================================================================
FAIL: test_add_field_preserve_default (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adflpd_pony'
======================================================================
FAIL: test_add_index (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adin_pony'
======================================================================
FAIL: test_add_index_state_forwards (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adinsf_pony'
======================================================================
FAIL: test_add_textfield (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_adtxtfl_pony'
======================================================================
FAIL: test_alter_field (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alfl_pony'
======================================================================
FAIL: test_alter_field_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alflmm_pony'
'test_alflmm_pony_stables'
'test_alflmm_stable'
======================================================================
FAIL: test_alter_field_pk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alflpk_pony'
======================================================================
FAIL: test_alter_field_with_index (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alflin_pony'
======================================================================
FAIL: test_alter_fk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alfk_rider'
'test_alfk_pony'
======================================================================
FAIL: test_alter_fk_non_fk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_afknfk_pony'
'test_afknfk_rider'
======================================================================
FAIL: test_alter_index_together (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alinto_pony'
======================================================================
FAIL: test_alter_model_managers (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_almoma_pony'
======================================================================
FAIL: test_alter_model_managers_emptying (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_almomae_food'
'test_almomae_pony'
======================================================================
FAIL: test_alter_model_options (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_almoop_pony'
======================================================================
FAIL: test_alter_model_table (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_almota_pony'
======================================================================
FAIL: test_alter_model_table_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_talflmltlm2m_stable'
'pony_foo'
'pony_foo_stables'
======================================================================
FAIL: test_alter_order_with_respect_to (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alorwrtto_rider'
'test_alorwrtto_pony'
======================================================================
FAIL: test_alter_unique_together (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_alunto_pony'
======================================================================
FAIL: test_autofield_foreignfield_growth (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_article_article'
'test_blog_blog'
======================================================================
FAIL: test_column_name_quoting (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_regr22168_pony'
======================================================================
FAIL: test_create_model_inheritance (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_crmoih_pony'
======================================================================
FAIL: test_create_model_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_crmomm_pony'
======================================================================
FAIL: test_create_model_managers (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_cmoma_pony'
======================================================================
FAIL: test_create_model_with_unique_after (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_crmoua_pony'
'test_crmoua_rider'
======================================================================
FAIL: test_create_proxy_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_crprmo_pony'
======================================================================
FAIL: test_create_unmanaged_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_crummo_pony'
======================================================================
FAIL: test_delete_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_dlmo_pony'
======================================================================
FAIL: test_delete_proxy_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_dlprmo_pony'
======================================================================
FAIL: test_model_with_bigautofield (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_book_book'
'test_author_author'
======================================================================
FAIL: test_remove_field (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmfl_pony'
======================================================================
FAIL: test_remove_field_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmflmm_pony_stables'
'test_rmflmm_pony'
'test_rmflmm_stable'
======================================================================
FAIL: test_remove_field_m2m_with_through (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmflmmwt_pony'
'test_rmflmmwt_stable'
======================================================================
FAIL: test_remove_fk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rfk_pony'
'test_rfk_rider'
======================================================================
FAIL: test_remove_index (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmin_pony'
======================================================================
FAIL: test_remove_index_state_forwards (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rminsf_pony'
======================================================================
FAIL: test_rename_field (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rnfl_pony'
======================================================================
FAIL: test_rename_m2m_target_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rename_m2m_target_model_pony_riders'
'test_rename_m2m_target_model_rider2'
'test_rename_m2m_target_model_pony'
======================================================================
FAIL: test_rename_m2m_through_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rename_through_ponyrider2'
'test_rename_through_rider'
'test_rename_through_pony'
======================================================================
FAIL: test_rename_model (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rnmo_rider'
'test_rnmo_pony'
======================================================================
FAIL: test_rename_model_with_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rename_model_with_m2m_rider'
'test_rename_model_with_m2m_pony2'
'test_rename_model_with_m2m_pony2_riders'
======================================================================
FAIL: test_rename_model_with_self_referential_fk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmwsrf_pony'
'test_rmwsrf_rider'
======================================================================
FAIL: test_rename_model_with_self_referential_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rename_model_with_self_referential_m2m_reflexivepony2_ponies'
'test_rename_model_with_self_referential_m2m_reflexivepony2'
======================================================================
FAIL: test_rename_model_with_superclass_fk (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_rmwsc_littlehorse'
'test_rmwsc_rider'
'test_rmwsc_pony'
======================================================================
FAIL: test_repoint_field_m2m (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the first set but not the second:
'test_alflmm_pony_stables'
Items in the second set but not the first:
'test_alflmm_pony_places'
'test_alflmm_van'
======================================================================
FAIL: test_run_python (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_runpython_shetlandpony'
'test_runpython_pony'
======================================================================
FAIL: test_run_python_atomic (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_runpythonatomic_shetlandpony'
'test_runpythonatomic_pony'
======================================================================
FAIL: test_run_python_related_assignment (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_authors_author'
'test_books_book'
======================================================================
FAIL: test_run_sql (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_runsql_pony'
======================================================================
FAIL: test_separate_database_and_state (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_separatedatabaseandstate_pony'
======================================================================
FAIL: test_separate_database_and_state2 (migrations.test_operations.OperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'test_separatedatabaseandstate2_pony'
======================================================================
FAIL: test_atomic_operation_in_non_atomic_migration (migrations.test_executor.ExecutorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'migrations_editor'
======================================================================
FAIL: test_non_atomic_migration (migrations.test_executor.ExecutorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 604, in run
self.tearDown()
File "/Users/egrim/scratch/django/tests/migrations/test_base.py", line 35, in tearDown
self.assertEqual(self.before_tables[db], after_tables)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 1073, in assertSetEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Items in the second set but not the first:
'migrations_publisher'
----------------------------------------------------------------------
Ran 436 tests in 1.163s
FAILED (failures=62, skipped=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment