@@ -22,7 +22,7 @@ def test_main(mocker):
2222class TestGetJson :
2323 def test__get_json_no_url_or_path (self , mocker ):
2424 get = mocker .patch ("requests.get" )
25- Path = mocker .patch ("pathlib .Path" )
25+ Path = mocker .patch ("openapi_python_client .Path" )
2626 loads = mocker .patch ("json.loads" )
2727
2828 from openapi_python_client import _get_json
@@ -36,7 +36,7 @@ def test__get_json_no_url_or_path(self, mocker):
3636
3737 def test__get_json_url_and_path (self , mocker ):
3838 get = mocker .patch ("requests.get" )
39- Path = mocker .patch ("pathlib .Path" )
39+ Path = mocker .patch ("openapi_python_client .Path" )
4040 loads = mocker .patch ("json.loads" )
4141
4242 from openapi_python_client import _get_json
@@ -50,7 +50,7 @@ def test__get_json_url_and_path(self, mocker):
5050
5151 def test__get_json_url_no_path (self , mocker ):
5252 get = mocker .patch ("requests.get" )
53- Path = mocker .patch ("pathlib .Path" )
53+ Path = mocker .patch ("openapi_python_client .Path" )
5454 loads = mocker .patch ("json.loads" )
5555
5656 from openapi_python_client import _get_json
@@ -64,7 +64,7 @@ def test__get_json_url_no_path(self, mocker):
6464
6565 def test__get_json_path_no_url (self , mocker ):
6666 get = mocker .patch ("requests.get" )
67- Path = mocker .patch ("pathlib .Path" )
67+ Path = mocker .patch ("openapi_python_client .Path" )
6868 loads = mocker .patch ("json.loads" )
6969
7070 from openapi_python_client import _get_json
0 commit comments