def test_empty_strings_not_allowed(self): field = JSONField() self.assertEqual(field.get_default(), None)