From 4008f65a1c8b32f00f72fbf8d191e1fe08a43c88 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 21 Sep 2023 12:36:44 +0100 Subject: [PATCH] tests: Remove duplicate fixture config This is already done in the 'aodh.tests.functional.db.TestBase' base class. Signed-off-by: Stephen Finucane Change-Id: I33e40cdb00620dc67e214f181068d4a024aa1447 --- aodh/tests/functional/api/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aodh/tests/functional/api/__init__.py b/aodh/tests/functional/api/__init__.py index 184a00cbb..1c08cfdc4 100644 --- a/aodh/tests/functional/api/__init__.py +++ b/aodh/tests/functional/api/__init__.py @@ -16,11 +16,9 @@ """Base classes for API tests. """ -from oslo_config import fixture as fixture_config import webtest from aodh.api import app -from aodh import service from aodh.tests.functional import db as db_test_base @@ -35,8 +33,6 @@ class FunctionalTest(db_test_base.TestBase): def setUp(self): super(FunctionalTest, self).setUp() - conf = service.prepare_service(argv=[], config_files=[]) - self.CONF = self.useFixture(fixture_config.Config(conf)).conf self.setup_messaging(self.CONF) self.CONF.set_override('auth_mode', None, group='api')