Apply suggestion from @levxn
Co-authored-by: Levin <105410870+levxn@users.noreply.github.com>
This commit is contained in:
@@ -222,8 +222,8 @@ class TestCloudflareTools:
|
||||
):
|
||||
fn = tools_registry["cloudflare_update_zone_setting"].fn
|
||||
result = fn(zone_id="z_test", setting_id="ssl", value="on")
|
||||
if isinstance(result, dict):
|
||||
assert "error" not in result
|
||||
assert isinstance(result, dict)
|
||||
assert "error" not in result
|
||||
|
||||
def test_cloudflare_list_dns_records(self, tools_registry, monkeypatch):
|
||||
monkeypatch.setenv("CLOUDFLARE_API_TOKEN", "test-key")
|
||||
|
||||
Reference in New Issue
Block a user