Пример #1
0
def create_firewall_zone_object():
    session = cloudpassage.HaloSession(key_id,
                                       secret_key,
                                       api_host=api_hostname,
                                       api_port=api_port,
                                       integration_string="SDK-Smoke")
    firewall_zone_object = cloudpassage.FirewallZone(session)
    return firewall_zone_object
Пример #2
0
 def test_instantiation(self):
     session = cloudpassage.HaloSession(key_id, secret_key)
     assert cloudpassage.FirewallZone(session)
 def test_instantiation(self):
     assert cloudpassage.FirewallZone(None)