Explorar el Código

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

Yoong Kang Lim hace 9 años
padre
commit
5453aa66cf
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      tests/migrations/test_writer.py

+ 2 - 0
tests/migrations/test_writer.py

@@ -357,6 +357,8 @@ class WriterTests(SimpleTestCase):
             SettingsReference("someapp.model", "AUTH_USER_MODEL"),
             ("settings.AUTH_USER_MODEL", {"from django.conf import settings"})
         )
+
+    def test_serialize_iterators(self):
         self.assertSerializedResultEqual(
             ((x, x * x) for x in range(3)),
             ("((0, 0), (1, 1), (2, 4))", set())