From e1a77a828e2de19c5e141b6b53c2bbbea13c36df Mon Sep 17 00:00:00 2001 From: Yatin Kumbhare Date: Tue, 26 Jul 2016 17:05:18 +0530 Subject: [PATCH] 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 --- tests/unit/plugins/openstack/scenarios/nova/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/plugins/openstack/scenarios/nova/test_utils.py b/tests/unit/plugins/openstack/scenarios/nova/test_utils.py index 765534079f..a972da5326 100755 --- a/tests/unit/plugins/openstack/scenarios/nova/test_utils.py +++ b/tests/unit/plugins/openstack/scenarios/nova/test_utils.py @@ -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"]}}, )