diff options
| author | Patrik Sletmo <patrik.sletmo@gmail.com> | 2018-10-11 13:54:37 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-11 09:02:14 -0400 |
| commit | adfdb9f1695d8710456b54282fcc6f306fc918c0 (patch) | |
| tree | 22030e1ffc91922566840ba695b6705fa8582c7e /tests | |
| parent | 52fec5d18f46febedd461c47f3829750a2a7160b (diff) | |
Fixed #29814 -- Added support for NoneType serialization in migrations.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/migrations/test_writer.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/migrations/test_writer.py b/tests/migrations/test_writer.py index c656f95666..f7ec6f4bd3 100644 --- a/tests/migrations/test_writer.py +++ b/tests/migrations/test_writer.py @@ -513,6 +513,9 @@ class WriterTests(SimpleTestCase): self.assertEqual(result.args, value.args) self.assertEqual(result.keywords, value.keywords) + def test_serialize_type_none(self): + self.assertSerializedEqual(type(None)) + def test_simple_migration(self): """ Tests serializing a simple migration. |
