Merge pull request #46549 from Ch3LL/dimension_test

Fix dimensionsdata test random_name call
This commit is contained in:
Nicole Thomas 2018-03-15 10:23:40 -04:00 committed by GitHub
commit 79f2a76609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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):
'''