Skip to content

Commit 687fc6f

Browse files
blaise-muhirwaAuto-format Bot
andauthored
Fixing Failing SDK HTTP Retries Unit Tests (#177)
* mark two tests as flaky * Automatically reformatting code * addressing pr feedback * Automatically reformatting code * update lock file * remove the flaky decorator * revert back to main's cicd logic --------- Co-authored-by: Auto-format Bot <[email protected]>
1 parent dfd0a17 commit 687fc6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/test_http_retries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_create_detector_attempts_retries(gl: Groundlight):
4242

4343
def test_get_or_create_detector_attempts_retries(gl: Groundlight):
4444
run_test(
45-
mocked_call="urllib3.PoolManager.request",
45+
mocked_call="requests.request",
4646
api_method=gl.get_or_create_detector,
4747
expected_call_counts=TOTAL_RETRIES + 1,
4848
name=DETECTOR_NAME,

0 commit comments

Comments
 (0)