summaryrefslogtreecommitdiff
path: root/tests/field_deconstruction/tests.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-13 21:28:09 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commitd992f4e3c29a81c956d3d616f0bc19701431b26e (patch)
tree3eebb321ef640126a8a1ad6c9f6273a73dc57463 /tests/field_deconstruction/tests.py
parent06eec3197009b88e3a633128bbcbd76eea0b46ff (diff)
Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.
Diffstat (limited to 'tests/field_deconstruction/tests.py')
-rw-r--r--tests/field_deconstruction/tests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/field_deconstruction/tests.py b/tests/field_deconstruction/tests.py
index bf00aa44e2..b746e46458 100644
--- a/tests/field_deconstruction/tests.py
+++ b/tests/field_deconstruction/tests.py
@@ -432,13 +432,6 @@ class FieldDeconstructionTests(SimpleTestCase):
self.assertEqual(kwargs, {"to": "auth.Permission"})
self.assertEqual(kwargs['to'].setting_name, "AUTH_USER_MODEL")
- def test_null_boolean_field(self):
- field = models.NullBooleanField()
- name, path, args, kwargs = field.deconstruct()
- self.assertEqual(path, "django.db.models.NullBooleanField")
- self.assertEqual(args, [])
- self.assertEqual(kwargs, {})
-
def test_positive_integer_field(self):
field = models.PositiveIntegerField()
name, path, args, kwargs = field.deconstruct()