Fix python3.5 unit test failure

Test NovaScenarioTestCase.test__boot_server_5 failed for gate job
gate-rally-python35-nv.
This happened because for different versions python, behaviour of set()
changes.

Change-Id: I6615bfe090d560e1f0a3d3b17672978f89858357
Closes-Bug: #1606537
This commit is contained in:
Yatin Kumbhare 2016-07-26 17:05:18 +05:30
parent 35c149c1a2
commit e1a77a828e

View File

@ -85,8 +85,8 @@ class NovaScenarioTestCase(test.ScenarioTestCase):
{"kwargs": {"auto_assign_nic": True}},
{"kwargs": {"auto_assign_nic": True, "nics": [{"net-id": "baz_id"}]}},
{"context": {"user": {"secgroup": {"name": "test"}}}},
{"context": {"user": {"secgroup": {"name": "new"}}},
"kwargs": {"security_groups": ["test"]}},
{"context": {"user": {"secgroup": {"name": "new8"}}},
"kwargs": {"security_groups": ["test8"]}},
{"context": {"user": {"secgroup": {"name": "test1"}}},
"kwargs": {"security_groups": ["test1"]}},
)