

def _delete_rule_by_table_action(self):
    page = self.securitygroup_page
    page = page.go_to_manage_rules(self.SEC_GROUP_NAME)
    page.delete_rules(self.RULE_PORT)
    self.assertTrue(page.find_message_and_dismiss(messages.SUCCESS))
    self.assertFalse(page.find_message_and_dismiss(messages.ERROR))
    self.assertFalse(page.is_port_present(self.RULE_PORT))

dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/tests/test_security_groups.py TestSecuritygroup._delete_rule_by_table_action/original