fix literal comparison
This commit is contained in:
@@ -85,12 +85,12 @@ def test_parse_args_invalid():
|
|||||||
|
|
||||||
def test_parse_args_dynamic_whitelist():
|
def test_parse_args_dynamic_whitelist():
|
||||||
args = parse_args(['--dynamic-whitelist'], '')
|
args = parse_args(['--dynamic-whitelist'], '')
|
||||||
assert args.dynamic_whitelist is 20
|
assert args.dynamic_whitelist == 20
|
||||||
|
|
||||||
|
|
||||||
def test_parse_args_dynamic_whitelist_10():
|
def test_parse_args_dynamic_whitelist_10():
|
||||||
args = parse_args(['--dynamic-whitelist', '10'], '')
|
args = parse_args(['--dynamic-whitelist', '10'], '')
|
||||||
assert args.dynamic_whitelist is 10
|
assert args.dynamic_whitelist == 10
|
||||||
|
|
||||||
|
|
||||||
def test_parse_args_dynamic_whitelist_invalid_values():
|
def test_parse_args_dynamic_whitelist_invalid_values():
|
||||||
|
Reference in New Issue
Block a user