Fix idempotent id for heat scenario tests

Heat scenario test define a Tempest idempotent id, however since
the base class does not inherit from WithAttributes, the id is not
added to the test function, and not displayed when listing or
invoking the id() method.

Fixing that by adding inheritance to testtools.testcase.WithAttributes.

Change-Id: Id3afee4d36a13967f9da11fc1f4c1a0576f0c3fd
This commit is contained in:
Andrea Frittoli 2018-02-22 11:29:53 +00:00
parent 50e598c873
commit d908bef47d
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ def requires_convergence(test_method):
return skipper(test_method)
class HeatIntegrationTest(testscenarios.WithScenarios,
class HeatIntegrationTest(testtools.testcase.WithAttributes,
testscenarios.WithScenarios,
testtools.TestCase):
def setUp(self):