From 9e7bab1de942a96b5da007ebba4b35a64f01cfd3 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 12 Jul 2016 19:37:53 -0400 Subject: allow_none -> allow_blank --- src/mailman/rest/tests/test_validator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/rest/tests') 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) -- cgit v1.2.3-70-g09d2