Beispiel #1
0
def test_dzt_get_zone_from_file_raises_NoZoneFileException():
    dzt = DnsZoneTest('example.com', '/path/to/non/existing/zone/file')
    with pytest.raises(NoZoneFileException):
        dzt.get_zone_from_file()
Beispiel #2
0
def test_dzt_get_zone_from_file_raises_NoZoneFileException():
    dzt = DnsZoneTest('example.com', '/path/to/non/existing/zone/file')
    with pytest.raises(NoZoneFileException):
        dzt.get_zone_from_file()