Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions tests/api_resources/accounts/logs/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class TestAudit:
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
def test_method_list(self, client: Cloudflare) -> None:
audit = client.accounts.logs.audit.list(
Expand All @@ -29,7 +29,7 @@ def test_method_list(self, client: Cloudflare) -> None:
)
assert_matches_type(SyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
def test_method_list_with_all_params(self, client: Cloudflare) -> None:
audit = client.accounts.logs.audit.list(
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
)
assert_matches_type(SyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
def test_raw_response_list(self, client: Cloudflare) -> None:
response = client.accounts.logs.audit.with_raw_response.list(
Expand All @@ -77,7 +77,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
audit = response.parse()
assert_matches_type(SyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
def test_streaming_response_list(self, client: Cloudflare) -> None:
with client.accounts.logs.audit.with_streaming_response.list(
Expand All @@ -93,7 +93,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:

assert cast(Any, response.is_closed) is True

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
def test_path_params_list(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
Expand All @@ -107,7 +107,7 @@ def test_path_params_list(self, client: Cloudflare) -> None:
class TestAsyncAudit:
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
async def test_method_list(self, async_client: AsyncCloudflare) -> None:
audit = await async_client.accounts.logs.audit.list(
Expand All @@ -117,7 +117,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
)
assert_matches_type(AsyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None:
audit = await async_client.accounts.logs.audit.list(
Expand Down Expand Up @@ -151,7 +151,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
)
assert_matches_type(AsyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
response = await async_client.accounts.logs.audit.with_raw_response.list(
Expand All @@ -165,7 +165,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
audit = await response.parse()
assert_matches_type(AsyncCursorLimitPagination[AuditListResponse], audit, path=["response"])

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None:
async with async_client.accounts.logs.audit.with_streaming_response.list(
Expand All @@ -181,7 +181,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N

assert cast(Any, response.is_closed) is True

@pytest.mark.skip(reason="TODO: investigate broken test")
@pytest.mark.skip(reason="TODO:investigate broken test")
@parametrize
async def test_path_params_list(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
Expand Down