def test_load_same_manifest_to_same_org_w_force(self, mozwebqa): ''' Scenario 2: Re-import same manifest into same org. Result: Pass ''' home_page = Home(mozwebqa) sysapi = ApiTasks(mozwebqa) new_org_name = "manifest-%s" % home_page.random_string() sysapi.create_org(new_org_name) home_page.login() home_page.header.click_switcher() home_page.header.filter_org_in_switcher(new_org_name) home_page.header.click_filtered_result(new_org_name) cm = ContentManagementTab(mozwebqa) home_page.tabs.click_tab("content_management_tab") ''' Need to clean this up a bit ''' if home_page.project == "katello" or home_page.project == "cfse": cm.click_content_providers() cm.select_redhat_content_provider() cm.enter_manifest(os.path.realpath(self._org4_m1_manifest)) cm.click_force() cm.enter_manifest(os.path.realpath(self._org4_m1_manifest)) Assert.true(home_page.is_successful)