Use data_utils in tempest.lib.common.utils
Tempest tests should use the stable method defined in tempest.lib. This patch is to use data_utils from tempest.lib.common.utils in OAUTHConsumersV3Test and HACKING.rst. Change-Id: Ia9f4cf37d8d57da34864a5eb55a8fe9d9c5722f5
This commit is contained in:
parent
7203f58c97
commit
c0f9556c7a
@ -232,9 +232,9 @@ parallel.
|
||||
and xml version of the same test class there could still be a race between
|
||||
methods.
|
||||
|
||||
- The rand_name() function from tempest.common.utils.data_utils should be used
|
||||
anywhere a resource is created with a name. Static naming should be avoided
|
||||
to prevent resource conflicts.
|
||||
- The rand_name() function from tempest.lib.common.utils.data_utils should be
|
||||
used anywhere a resource is created with a name. Static naming should be
|
||||
avoided to prevent resource conflicts.
|
||||
|
||||
- If the execution of a set of tests is required to be serialized then locking
|
||||
can be used to perform this. See AggregatesAdminTest in
|
||||
|
@ -14,7 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
from tempest.api.identity import base
|
||||
from tempest.common.utils import data_utils
|
||||
from tempest.lib.common.utils import data_utils
|
||||
from tempest.lib.common.utils import test_utils
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions as exceptions
|
||||
|
Loading…
x
Reference in New Issue
Block a user