summaryrefslogtreecommitdiffstats
path: root/os_net_config/tests/test_objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_net_config/tests/test_objects.py')
-rw-r--r--os_net_config/tests/test_objects.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/os_net_config/tests/test_objects.py b/os_net_config/tests/test_objects.py
index 870a3e4..ca2dd47 100644
--- a/os_net_config/tests/test_objects.py
+++ b/os_net_config/tests/test_objects.py
@@ -651,7 +651,7 @@ class TestOvsTunnel(base.TestCase):
"type": "ovs_bridge",
"name": "br-foo",
"ovs_extra": [
- "set {name} fail_mode=standalone"
+ "set bridge {name} something"
],
"members": [{
"type": "ovs_tunnel",
@@ -669,7 +669,9 @@ class TestOvsTunnel(base.TestCase):
"""
bridge = objects.object_from_json(json.loads(data))
self.assertEqual("br-foo", bridge.name)
- self.assertEqual(["set br-foo fail_mode=standalone"], bridge.ovs_extra)
+ self.assertEqual(["set bridge br-foo something",
+ "set bridge br-foo fail_mode=standalone"],
+ bridge.ovs_extra)
tun0 = bridge.members[0]
self.assertEqual("tun0", tun0.name)
self.assertFalse(tun0.ovs_port)