Correct the module path for decorators

The import path of decorators is not correct, this patch fixes that.

Change-Id: I4eb09829c4ea787c013cb6061b0ebbc665125b10
Closes-Bug: #1678465
This commit is contained in:
Jeremy Liu 2017-04-01 19:32:26 +08:00
parent e8afb8c2c5
commit 12afdb8965

View File

@ -29,7 +29,7 @@ import six.moves.urllib.parse as urlparse
DECORATOR_MODULE = 'decorators'
DECORATOR_NAME = 'idempotent_id'
DECORATOR_IMPORT = 'tempest.%s' % DECORATOR_MODULE
IMPORT_LINE = 'from tempest import %s' % DECORATOR_MODULE
IMPORT_LINE = 'from tempest.lib import %s' % DECORATOR_MODULE
DECORATOR_TEMPLATE = "@%s.%s('%%s')" % (DECORATOR_MODULE,
DECORATOR_NAME)
UNIT_TESTS_EXCLUDE = 'tempest.tests'