parent
a11ed8dcfd
commit
0a515b02fc
|
@ -412,6 +412,7 @@ class BaseDatabaseCreation(object):
|
||||||
app_config.name not in settings.TEST_NON_SERIALIZED_APPS
|
app_config.name not in settings.TEST_NON_SERIALIZED_APPS
|
||||||
):
|
):
|
||||||
app_list.append((app_config, None))
|
app_list.append((app_config, None))
|
||||||
|
|
||||||
# Make a function to iteratively return every object
|
# Make a function to iteratively return every object
|
||||||
def get_objects():
|
def get_objects():
|
||||||
for model in sort_dependencies(app_list):
|
for model in sort_dependencies(app_list):
|
||||||
|
|
|
@ -842,7 +842,6 @@ class TransactionTestCase(SimpleTestCase):
|
||||||
allow_cascade=self.available_apps is not None,
|
allow_cascade=self.available_apps is not None,
|
||||||
inhibit_post_migrate=self.available_apps is not None)
|
inhibit_post_migrate=self.available_apps is not None)
|
||||||
|
|
||||||
|
|
||||||
def assertQuerysetEqual(self, qs, values, transform=repr, ordered=True, msg=None):
|
def assertQuerysetEqual(self, qs, values, transform=repr, ordered=True, msg=None):
|
||||||
items = six.moves.map(transform, qs)
|
items = six.moves.map(transform, qs)
|
||||||
if not ordered:
|
if not ordered:
|
||||||
|
|
Loading…
Reference in New Issue