order in properties can change
This commit is contained in:
parent
fbf05ba5e4
commit
8c24903dfb
|
@ -73,7 +73,7 @@ def test_permissive_frozen():
|
||||||
config.u1 = 1
|
config.u1 = 1
|
||||||
except PropertiesOptionError as err:
|
except PropertiesOptionError as err:
|
||||||
props = err.proptype
|
props = err.proptype
|
||||||
assert props == ['frozen', 'disabled']
|
assert set(props) == set(['frozen', 'disabled'])
|
||||||
setting.append('permissive')
|
setting.append('permissive')
|
||||||
config.u1 = 1
|
config.u1 = 1
|
||||||
assert config.u1 == 1
|
assert config.u1 == 1
|
||||||
|
@ -82,7 +82,7 @@ def test_permissive_frozen():
|
||||||
config.u1 = 1
|
config.u1 = 1
|
||||||
except PropertiesOptionError as err:
|
except PropertiesOptionError as err:
|
||||||
props = err.proptype
|
props = err.proptype
|
||||||
assert props == ['frozen', 'disabled']
|
assert set(props) == set(['frozen', 'disabled'])
|
||||||
|
|
||||||
|
|
||||||
def test_invalid_permissive():
|
def test_invalid_permissive():
|
||||||
|
|
Loading…
Reference in New Issue