order in properties can change
This commit is contained in:
parent
fbf05ba5e4
commit
8c24903dfb
1 changed files with 2 additions and 2 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue