Declare the config attribute in a simpler way
tempest/test.py was declared in the __init__ in order to avoid possible style check issues.
Change-Id: I781c24d1b82d169a40aee6a264dbc203e5833f87
diff --git a/tempest/test.py b/tempest/test.py
index 4db9827..6af95f9 100644
--- a/tempest/test.py
+++ b/tempest/test.py
@@ -51,10 +51,8 @@
class BaseTestCase(testtools.TestCase,
testtools.testcase.WithAttributes,
testresources.ResourcedTestCase):
- def __init__(self, *args, **kwargs):
- super(BaseTestCase, self).__init__(*args, **kwargs)
- #NOTE(afazekas): inspection workaround
- BaseTestCase.config = config.TempestConfig()
+
+ config = config.TempestConfig()
@classmethod
def setUpClass(cls):