projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version and changelog for release
[osm/N2VC.git]
/
tests
/
unit
/
test_placement.py
diff --git
a/tests/unit/test_placement.py
b/tests/unit/test_placement.py
index
793266d
..
a78a28d
100644
(file)
--- a/
tests/unit/test_placement.py
+++ b/
tests/unit/test_placement.py
@@
-11,10
+11,10
@@
class TestPlacement(unittest.TestCase):
def test_parse_both_specified(self):
res = placement.parse("foo:bar")
def test_parse_both_specified(self):
res = placement.parse("foo:bar")
- self.assertEqual(res.scope, "foo")
- self.assertEqual(res.directive, "bar")
+ self.assertEqual(res
[0]
.scope, "foo")
+ self.assertEqual(res
[0]
.directive, "bar")
def test_parse_machine(self):
res = placement.parse("22")
def test_parse_machine(self):
res = placement.parse("22")
- self.assertEqual(res.scope, "#")
- self.assertEqual(res.directive, "22")
+ self.assertEqual(res
[0]
.scope, "#")
+ self.assertEqual(res
[0]
.directive, "22")