projects
/
tiramisu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf05ba
)
order in properties can change
author
Emmanuel Garette
<egarette@cadoles.com>
Wed, 28 Aug 2013 19:23:42 +0000
(21:23 +0200)
committer
Emmanuel Garette
<egarette@cadoles.com>
Wed, 28 Aug 2013 19:23:42 +0000
(21:23 +0200)
test/test_permissive.py
patch
|
blob
|
history
diff --git
a/test/test_permissive.py
b/test/test_permissive.py
index
88507ef
..
38a8bcf
100644
(file)
--- 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():