from update_dns import ApiHelperMethods, ApiPaths, ApiWrapper def test_api_get(): assert ApiWrapper.api_get(ApiPaths.list_sites()) is not None def test_site_name_to_id(): assert ApiHelperMethods.site_name_to_id("Default") is not None def test_dns_record_exists(): assert ApiHelperMethods.dns_record_exists("test.reeselink.com") assert not ApiHelperMethods.dns_record_exists("idontexist.reeselink.com")