Merge "Test's random name gen now uses uuid4"

This commit is contained in:
Jenkins 2014-12-18 04:20:08 +00:00 committed by Gerrit Code Review
commit e566de4b5c

View File

@ -13,14 +13,14 @@
# License for the specific language governing permissions and limitations
# under the License.
import random
import uuid
from openstack_dashboard.test.integration_tests import helpers
class TestKeypair(helpers.TestCase):
"""Checks that the user is able to create/delete keypair."""
KEYPAIR_NAME = 'horizonkeypair' + str(random.randint(0, 1000))
KEYPAIR_NAME = 'horizonkeypair_' + str(uuid.uuid4())
def test_keypair(self):
accesssecurity_page = self.home_pg.go_to_accesssecurity_page()