From b80a04e1460cf841f37bb10799c80bbbfc6b163d Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Thu, 18 Apr 2024 12:22:17 -0700 Subject: [PATCH] stdlib,tests: Fix mocked_resquest_post - add kwargs Change-Id: I1c080d42b6f238d2f716c500913dc7576dc13ed6 --- tests/pyunit/stdlib/resources/pyunit_client_wrapper_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pyunit/stdlib/resources/pyunit_client_wrapper_checks.py b/tests/pyunit/stdlib/resources/pyunit_client_wrapper_checks.py index f98005e546..bfcab993a3 100644 --- a/tests/pyunit/stdlib/resources/pyunit_client_wrapper_checks.py +++ b/tests/pyunit/stdlib/resources/pyunit_client_wrapper_checks.py @@ -76,7 +76,7 @@ with open(Path(__file__).parent / "refs/mongo-dup-mock.json") as f: duplicate_mock_json = json.load(f) -def mocked_requests_post(*args): +def mocked_requests_post(*args, **kwargs): # mokcing urllib.request.urlopen class MockResponse: def __init__(self, json_data, status_code):