Apply suggestion from @levxn
Co-authored-by: Levin <105410870+levxn@users.noreply.github.com>
This commit is contained in:
@@ -495,8 +495,8 @@ class TestCloudflareTools:
|
||||
):
|
||||
fn = tools_registry["cloudflare_get_cache_analytics"].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_performance_analytics(self, tools_registry, monkeypatch):
|
||||
monkeypatch.setenv("CLOUDFLARE_API_TOKEN", "test-key")
|
||||
|
||||
Reference in New Issue
Block a user