This commit is contained in:
Anthony Shaw 2017-03-24 14:05:19 +11:00 committed by rallytime
parent 4b260a4594
commit 49d94559ab

View File

@ -51,21 +51,27 @@ test_records = {
"zone1": [TestRecord(0, "www", "A", "127.0.0.1")] "zone1": [TestRecord(0, "www", "A", "127.0.0.1")]
} }
def list_zones(profile): def list_zones(profile):
return [TestZone("zone1", "test.com")] return [TestZone("zone1", "test.com")]
def list_records(zone_id, profile): def list_records(zone_id, profile):
return test_records[zone_id] return test_records[zone_id]
def create_record(*args): def create_record(*args):
return True return True
def delete_record(*args): def delete_record(*args):
return True return True
def create_zone(*args): def create_zone(*args):
return True return True
def delete_zone(*args): def delete_zone(*args):
return True return True