

def _add_rule(self):
    page = self.securitygroup_page
    page = page.go_to_manage_rules(self.SEC_GROUP_NAME)
    page.create_rule(self.RULE_PORT)
    page.assertTrue(page.find_message_and_dismiss(messages.SUCCESS))
    self.assertTrue(page.is_port_present(self.RULE_PORT))

dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/tests/test_security_groups.py TestSecuritygroup._add_rule/VarMisuse@36/50 `self`->`page`