Scenarios: remove redundant call to resource_setup()

The BaseTestCase class already calls `resource_setup()` right
after calling `setup_clients`. So no need to call resource_setup()
twice.

Change-Id: Iebac71a518005c2135947a262ec3e71b10a5c314
This commit is contained in:
Jordan Pittier 2016-09-16 15:00:32 +02:00
parent e1e27938be
commit 4f81f4d3af
2 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ class TestAggregatesBasicOps(manager.ScenarioTest):
super(TestAggregatesBasicOps, cls).setup_clients()
# Use admin client by default
cls.manager = cls.admin_manager
super(TestAggregatesBasicOps, cls).resource_setup()
cls.aggregates_client = cls.manager.aggregates_client
cls.hosts_client = cls.manager.hosts_client

View File

@ -42,7 +42,6 @@ class TestServerMultinode(manager.ScenarioTest):
# this is needed so that we can use the availability_zone:host
# scheduler hint, which is admin_only by default
cls.servers_client = cls.admin_manager.servers_client
super(TestServerMultinode, cls).resource_setup()
@test.idempotent_id('9cecbe35-b9d4-48da-a37e-7ce70aa43d30')
@test.attr(type='smoke')