diff options
Diffstat (limited to 'src/mailman/rest/tests/test_validator.py')
| -rw-r--r-- | src/mailman/rest/tests/test_validator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/tests/test_validator.py b/src/mailman/rest/tests/test_validator.py index 734ec0399..32ba7a845 100644 --- a/src/mailman/rest/tests/test_validator.py +++ b/src/mailman/rest/tests/test_validator.py @@ -89,5 +89,5 @@ class TestValidators(unittest.TestCase): self.assertRaises(ValueError, enum_validator(Action), 'not-a-thing') - def test_enum_validator_none(self): - self.assertEqual(enum_validator(Action, allow_none=True)(''), None) + def test_enum_validator_blank(self): + self.assertEqual(enum_validator(Action, allow_blank=True)(''), None) |
