diff --git a/tests/unit/states/libcloud_dns_test.py b/tests/unit/states/libcloud_dns_test.py index 55ebf497da..81e3dbbe7f 100644 --- a/tests/unit/states/libcloud_dns_test.py +++ b/tests/unit/states/libcloud_dns_test.py @@ -51,21 +51,27 @@ test_records = { "zone1": [TestRecord(0, "www", "A", "127.0.0.1")] } + def list_zones(profile): return [TestZone("zone1", "test.com")] + def list_records(zone_id, profile): return test_records[zone_id] + def create_record(*args): return True + def delete_record(*args): return True + def create_zone(*args): return True + def delete_zone(*args): return True