tests: Remove duplicate fixture config

This is already done in the 'aodh.tests.functional.db.TestBase' base
class.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I33e40cdb00620dc67e214f181068d4a024aa1447
This commit is contained in:
Stephen Finucane 2023-09-21 12:36:44 +01:00
parent 6c032153bf
commit 4008f65a1c

View File

@ -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')