@@ -22,7 +22,7 @@ def test_main(mocker):
22
22
class TestGetJson :
23
23
def test__get_json_no_url_or_path (self , mocker ):
24
24
get = mocker .patch ("requests.get" )
25
- Path = mocker .patch ("pathlib .Path" )
25
+ Path = mocker .patch ("openapi_python_client .Path" )
26
26
loads = mocker .patch ("json.loads" )
27
27
28
28
from openapi_python_client import _get_json
@@ -36,7 +36,7 @@ def test__get_json_no_url_or_path(self, mocker):
36
36
37
37
def test__get_json_url_and_path (self , mocker ):
38
38
get = mocker .patch ("requests.get" )
39
- Path = mocker .patch ("pathlib .Path" )
39
+ Path = mocker .patch ("openapi_python_client .Path" )
40
40
loads = mocker .patch ("json.loads" )
41
41
42
42
from openapi_python_client import _get_json
@@ -50,7 +50,7 @@ def test__get_json_url_and_path(self, mocker):
50
50
51
51
def test__get_json_url_no_path (self , mocker ):
52
52
get = mocker .patch ("requests.get" )
53
- Path = mocker .patch ("pathlib .Path" )
53
+ Path = mocker .patch ("openapi_python_client .Path" )
54
54
loads = mocker .patch ("json.loads" )
55
55
56
56
from openapi_python_client import _get_json
@@ -64,7 +64,7 @@ def test__get_json_url_no_path(self, mocker):
64
64
65
65
def test__get_json_path_no_url (self , mocker ):
66
66
get = mocker .patch ("requests.get" )
67
- Path = mocker .patch ("pathlib .Path" )
67
+ Path = mocker .patch ("openapi_python_client .Path" )
68
68
loads = mocker .patch ("json.loads" )
69
69
70
70
from openapi_python_client import _get_json
0 commit comments