diff --git a/test/test_permissive.py b/test/test_permissive.py index 88507ef..38a8bcf 100644 --- a/test/test_permissive.py +++ b/test/test_permissive.py @@ -73,7 +73,7 @@ def test_permissive_frozen(): config.u1 = 1 except PropertiesOptionError as err: props = err.proptype - assert props == ['frozen', 'disabled'] + assert set(props) == set(['frozen', 'disabled']) setting.append('permissive') config.u1 = 1 assert config.u1 == 1 @@ -82,7 +82,7 @@ def test_permissive_frozen(): config.u1 = 1 except PropertiesOptionError as err: props = err.proptype - assert props == ['frozen', 'disabled'] + assert set(props) == set(['frozen', 'disabled']) def test_invalid_permissive():