review: Fix test name
This commit is contained in:
parent
2c31dbe47c
commit
98587f5098
@ -11,7 +11,7 @@ def test_check_boolean_with_valid_values():
|
|||||||
validation.check_boolean(value)
|
validation.check_boolean(value)
|
||||||
|
|
||||||
|
|
||||||
def test_check_boolean_with_truthy_values():
|
def test_check_boolean_with_other_values():
|
||||||
for value in 1, 0, None, '', list(), tuple():
|
for value in 1, 0, None, '', list(), tuple():
|
||||||
with raises(exceptions.ValidationError):
|
with raises(exceptions.ValidationError):
|
||||||
validation.check_boolean(value)
|
validation.check_boolean(value)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user