From dbdca9de9f388c02e7b85b8fc03b0353ea0ff37b Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Wed, 6 Sep 2017 03:54:40 -0700 Subject: [PATCH] Fixes test_cluster _create_server method test_cluster overrides the test_base's _create_server method, but it does not respect its signature, leading to issues when flavors are passed to the method.wq Change-Id: I6cb0a279bbff653369591246749874b315ed33ab --- oswin_tempest_plugin/tests/scenario/test_cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oswin_tempest_plugin/tests/scenario/test_cluster.py b/oswin_tempest_plugin/tests/scenario/test_cluster.py index b9a1485..8f094bd 100644 --- a/oswin_tempest_plugin/tests/scenario/test_cluster.py +++ b/oswin_tempest_plugin/tests/scenario/test_cluster.py @@ -135,8 +135,8 @@ class HyperVClusterTest(test_base.TestBase, res_type='hypervisor') return hypervisor[0] - def _create_server(self): - server_tuple = super(HyperVClusterTest, self)._create_server() + def _create_server(self, flavor=None): + server_tuple = super(HyperVClusterTest, self)._create_server(flavor) server = server_tuple.server admin_server = self._get_server_as_admin(server)