summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/modeltests/delete/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/modeltests/delete/models.py b/tests/modeltests/delete/models.py
index 943a327403..0e063fd8f0 100644
--- a/tests/modeltests/delete/models.py
+++ b/tests/modeltests/delete/models.py
@@ -198,5 +198,10 @@ CLEARING FIELD f
# Put this back to normal
>>> django.db.models.sql.UpdateQuery = original_class
+
+# Restore the app cache to previous condition so that all models are accounted for.
+>>> cache.app_models['delete'].keyOrder = ['a', 'b', 'c', 'd', 'e', 'f']
+>>> clear_rel_obj_caches([A, B, C, D, E, F])
+
"""
}