diff --git a/openstack_dashboard/test/integration_tests/tests/test_keypair.py b/openstack_dashboard/test/integration_tests/tests/test_keypair.py index e217461722..8d7f30b166 100644 --- a/openstack_dashboard/test/integration_tests/tests/test_keypair.py +++ b/openstack_dashboard/test/integration_tests/tests/test_keypair.py @@ -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()