def test_create_zone(client): zone = main.create_zone(PROJECT, TEST_ZONE_NAME, TEST_ZONE_DNS_NAME, TEST_ZONE_DESCRIPTION) assert zone.name == TEST_ZONE_NAME assert zone.dns_name == TEST_ZONE_DNS_NAME assert zone.description == TEST_ZONE_DESCRIPTION
def test_create_zone(client, cloud_config): zone = main.create_zone(cloud_config.project, TEST_ZONE_NAME, TEST_ZONE_DNS_NAME, TEST_ZONE_DESCRIPTION) assert zone.name == TEST_ZONE_NAME assert zone.dns_name == TEST_ZONE_DNS_NAME assert zone.description == TEST_ZONE_DESCRIPTION
def test_create_zone(client, cloud_config): zone = main.create_zone( cloud_config.project, TEST_ZONE_NAME, TEST_ZONE_DNS_NAME, TEST_ZONE_DESCRIPTION) assert zone.name == TEST_ZONE_NAME assert zone.dns_name == TEST_ZONE_DNS_NAME assert zone.description == TEST_ZONE_DESCRIPTION
def test_create_zone(client): zone = main.create_zone( PROJECT, TEST_ZONE_NAME, TEST_ZONE_DNS_NAME, TEST_ZONE_DESCRIPTION) assert zone.name == TEST_ZONE_NAME assert zone.dns_name == TEST_ZONE_DNS_NAME assert zone.description == TEST_ZONE_DESCRIPTION