From a8d6b60bf56585f8c1da516f5506683d20dacd66 Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Thu, 16 Jan 2020 15:27:56 -0600 Subject: [PATCH] Automate test to verify key pair visibility in child tenants --- cfme/cloud/keypairs.py | 2 +- cfme/tests/cloud/test_keypairs.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cfme/cloud/keypairs.py b/cfme/cloud/keypairs.py index 7139f6ee0f..4ef8ce00d0 100644 --- a/cfme/cloud/keypairs.py +++ b/cfme/cloud/keypairs.py @@ -201,7 +201,7 @@ def set_ownership(self, owner=None, group=None, cancel=False, reset=False): if not fill_result: view.form.cancel_button.click() view = self.create_view(navigator.get_class(self, 'Details').VIEW) - view.flash.assert_success_message('Set Ownership was cancelled by the user') + view.flash.assert_no_error() return # Only if the form changed diff --git a/cfme/tests/cloud/test_keypairs.py b/cfme/tests/cloud/test_keypairs.py index 16be0211c0..243fb0ec18 100644 --- a/cfme/tests/cloud/test_keypairs.py +++ b/cfme/tests/cloud/test_keypairs.py @@ -28,8 +28,7 @@ def keypair(appliance, provider): yield key -@pytest.mark.meta(blockers=[BZ(1718833, forced_streams=["5.10", "5.11"], - unblock=lambda provider: provider.one_of(OpenStackProvider))]) +@pytest.mark.meta(automates=[BZ(1718833)]) def test_keypair_crud(appliance, provider): """ This will test whether it will create new Keypair and then deletes it. Polarion: