From b68af26c562cf620de191813dfc4b16adb2ab758 Mon Sep 17 00:00:00 2001 From: Eyal Date: Sun, 13 Mar 2016 17:35:57 +0200 Subject: [PATCH] fix inheritance Change-Id: I8227c1ab80780d96fae380bcee8ea24004c1bb17 --- vitrage_tempest_tests/tests/api/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vitrage_tempest_tests/tests/api/base.py b/vitrage_tempest_tests/tests/api/base.py index 8a1adaafd..ca629c697 100644 --- a/vitrage_tempest_tests/tests/api/base.py +++ b/vitrage_tempest_tests/tests/api/base.py @@ -18,15 +18,15 @@ from vitrage_tempest_tests.tests.base_mock import BaseMock LOG = logging.getLogger(__name__) -class BaseVitrageTest(BaseTest): +class BaseVitrageTest(BaseTest, BaseMock): """Base test class for Vitrage API tests.""" - def __init__(self, *args, **kwds): - super(BaseVitrageTest, self).__init__(*args, **kwds) + def __init__(self, *args, **kwargs): + super(BaseVitrageTest, self).__init__(*args, **kwargs) def _create_graph_by_mock(self): """Create MOCK Graph and copied to the string """ - processor = BaseMock.create_processor_with_graph() + processor = self.create_processor_with_graph() entity_graph = processor.entity_graph mock_graph_output = entity_graph.output_graph() LOG.info("The mock graph is : " + mock_graph_output)