Fix skip of faults OVN agents tests when there is no OVN in env

Faults tests related to the OVN agents should be skipped in case when
Tobiko is run on the env without OVN, like e.g. ML2/OVS.
It wasn't skipped because super() method of the OVN test cases class was
called after some method which was looking for container name.
Now it is called in correct order and tests are skipped properly.

Change-Id: I0616169f91cb8ec1431ac91d34c1b2b20466f85a
This commit is contained in:
Slawek Kaplonski 2020-11-25 16:46:13 +01:00
parent 9204f886de
commit 84a701c981
1 changed files with 1 additions and 1 deletions

View File

@ -516,8 +516,8 @@ class OvnControllerTest(BaseAgentTest):
stack = tobiko.required_setup_fixture(stacks.CirrosServerStackFixture)
def setUp(self):
self.get_ovn_agents_from_containers()
super(OvnControllerTest, self).setUp()
self.get_ovn_agents_from_containers()
def kill_ovn_controller(self,
hosts: typing.Optional[typing.List[str]] = None,