summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_writer.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/migrations/test_writer.py b/tests/migrations/test_writer.py
index 8856e8fbb3..5934f8cf47 100644
--- a/tests/migrations/test_writer.py
+++ b/tests/migrations/test_writer.py
@@ -102,6 +102,13 @@ class WriterTests(TestCase):
set(["from django.conf import settings"]),
)
)
+ self.assertSerializedResultEqual(
+ ((x, x*x) for x in range(3)),
+ (
+ "((0, 0), (1, 1), (2, 4))",
+ set(),
+ )
+ )
def test_simple_migration(self):
"""