Skip to content

Commit 560801e

Browse files
feat(dlp): disable problematic test (#2261)
1 parent d2f86b6 commit 560801e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/api_resources/zero_trust/dlp/datasets/versions/test_entries.py

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
class TestEntries:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20+
@pytest.mark.skip(reason="TODO: investigate broken test")
2021
@parametrize
2122
def test_method_create(self, client: Cloudflare) -> None:
2223
entry = client.zero_trust.dlp.datasets.versions.entries.create(
@@ -28,6 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
2829
)
2930
assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"])
3031

32+
@pytest.mark.skip(reason="TODO: investigate broken test")
3133
@parametrize
3234
def test_raw_response_create(self, client: Cloudflare) -> None:
3335
response = client.zero_trust.dlp.datasets.versions.entries.with_raw_response.create(
@@ -43,6 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
4345
entry = response.parse()
4446
assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"])
4547

48+
@pytest.mark.skip(reason="TODO: investigate broken test")
4649
@parametrize
4750
def test_streaming_response_create(self, client: Cloudflare) -> None:
4851
with client.zero_trust.dlp.datasets.versions.entries.with_streaming_response.create(
@@ -60,6 +63,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
6063

6164
assert cast(Any, response.is_closed) is True
6265

66+
@pytest.mark.skip(reason="TODO: investigate broken test")
6367
@parametrize
6468
def test_path_params_create(self, client: Cloudflare) -> None:
6569
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -93,6 +97,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
9397
class TestAsyncEntries:
9498
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
9599

100+
@pytest.mark.skip(reason="TODO: investigate broken test")
96101
@parametrize
97102
async def test_method_create(self, async_client: AsyncCloudflare) -> None:
98103
entry = await async_client.zero_trust.dlp.datasets.versions.entries.create(
@@ -104,6 +109,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
104109
)
105110
assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"])
106111

112+
@pytest.mark.skip(reason="TODO: investigate broken test")
107113
@parametrize
108114
async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
109115
response = await async_client.zero_trust.dlp.datasets.versions.entries.with_raw_response.create(
@@ -119,6 +125,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
119125
entry = await response.parse()
120126
assert_matches_type(Optional[EntryCreateResponse], entry, path=["response"])
121127

128+
@pytest.mark.skip(reason="TODO: investigate broken test")
122129
@parametrize
123130
async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None:
124131
async with async_client.zero_trust.dlp.datasets.versions.entries.with_streaming_response.create(
@@ -136,6 +143,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
136143

137144
assert cast(Any, response.is_closed) is True
138145

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

0 commit comments

Comments
 (0)