Fix dimensionsdata test random_name call

This commit is contained in:
Ch3LL 2018-03-14 15:28:06 -04:00
parent 083846fe0e
commit bb338c464c
No known key found for this signature in database
GPG Key ID: 132B55A7C13EFA73

View File

@ -18,10 +18,6 @@ from tests.support.helpers import expensiveTest
from salt.config import cloud_providers_config
from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin
# Create the cloud instance name to be used throughout the tests
INSTANCE_NAME = _random_name('CLOUD-TEST-')
PROVIDER_NAME = 'dimensiondata'
def _random_name(size=6):
'''
@ -32,6 +28,10 @@ def _random_name(size=6):
for x in range(size)
)
# Create the cloud instance name to be used throughout the tests
INSTANCE_NAME = _random_name()
PROVIDER_NAME = 'dimensiondata'
class DimensionDataTest(ShellCase):
'''