Apply suggestion from @levxn

Co-authored-by: Levin <105410870+levxn@users.noreply.github.com>
This commit is contained in:
SAURABH KUMAR
2026-03-27 22:43:23 +05:30
committed by GitHub
parent b3c1f1436b
commit 617462df52
+2 -2
View File
@@ -243,8 +243,8 @@ class TestCloudflareTools:
):
fn = tools_registry["cloudflare_list_dns_records"].fn
result = fn(zone_id="z_test")
if isinstance(result, dict):
assert "error" not in result
assert isinstance(result, dict)
assert "error" not in result
def test_cloudflare_get_dns_record(self, tools_registry, monkeypatch):
monkeypatch.setenv("CLOUDFLARE_API_TOKEN", "test-key")