Ejemplo n.º 1
0
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
Ejemplo n.º 2
0
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
Ejemplo n.º 3
0
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