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:
parent
e1e27938be
commit
4f81f4d3af
@ -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
|
||||
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user