Kaydet (Commit) 5453aa66 authored tarafından Yoong Kang Lim's avatar Yoong Kang Lim Kaydeden (comit) Tim Graham

Added a missing test method in tests/migrations/test_writer.py.

üst a6d463b0
...@@ -357,6 +357,8 @@ class WriterTests(SimpleTestCase): ...@@ -357,6 +357,8 @@ class WriterTests(SimpleTestCase):
SettingsReference("someapp.model", "AUTH_USER_MODEL"), SettingsReference("someapp.model", "AUTH_USER_MODEL"),
("settings.AUTH_USER_MODEL", {"from django.conf import settings"}) ("settings.AUTH_USER_MODEL", {"from django.conf import settings"})
) )
def test_serialize_iterators(self):
self.assertSerializedResultEqual( self.assertSerializedResultEqual(
((x, x * x) for x in range(3)), ((x, x * x) for x in range(3)),
("((0, 0), (1, 1), (2, 4))", set()) ("((0, 0), (1, 1), (2, 4))", set())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment