File tree Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,6 @@ def test_auto_chapters_fails_without_punctuation(httpx_mock: HTTPXMock):
34
34
# Check that the error was raised before any requests were made
35
35
assert len (httpx_mock .get_requests ()) == 0
36
36
37
- # Inform httpx_mock that it's okay we didn't make any requests
38
- httpx_mock .reset (False )
39
-
40
37
41
38
def test_auto_chapters_disabled_by_default (httpx_mock : HTTPXMock ):
42
39
"""
Original file line number Diff line number Diff line change @@ -229,6 +229,3 @@ def test_content_safety_with_invalid_confidence_threshold(
229
229
230
230
# Check that the error was raised before any requests were made
231
231
assert len (httpx_mock .get_requests ()) == 0
232
-
233
- # Inform httpx_mock that it's okay we didn't make any requests
234
- httpx_mock .reset (False )
Original file line number Diff line number Diff line change @@ -115,9 +115,6 @@ def test_redact_pii_fails_without_policies(httpx_mock: HTTPXMock):
115
115
# Check that the error was raised before any requests were made
116
116
assert len (httpx_mock .get_requests ()) == 0
117
117
118
- # Inform httpx_mock that it's okay we didn't make any requests
119
- httpx_mock .reset (False )
120
-
121
118
122
119
def test_redact_pii_params_excluded_when_disabled (httpx_mock : HTTPXMock ):
123
120
"""
Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ def test_summarization_fails_without_required_field(
37
37
# Check that the error was raised before any requests were made
38
38
assert len (httpx_mock .get_requests ()) == 0
39
39
40
- # Inform httpx_mock that it's okay we didn't make any requests
41
- httpx_mock .reset (False )
42
-
43
40
44
41
def test_summarization_disabled_by_default (httpx_mock : HTTPXMock ):
45
42
"""
You can’t perform that action at this time.
0 commit comments