order in properties can change

This commit is contained in:
Emmanuel Garette 2013-08-28 21:23:42 +02:00
parent fbf05ba5e4
commit 8c24903dfb
1 changed files with 2 additions and 2 deletions

View File

@ -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():