Skip to content

Commit e8734f8

Browse files
AliabbasMerchantntninja
authored andcommitted
Correction: http_client/v0 -> api/v0
1 parent 2dde9b4 commit e8734f8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

renaming_status.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ External Changes to be made:
66

77

88
THESE MAY REFER TO THE ACTUAL API
9-
ipfshttpclient/client.py All occurrences
109
ipfshttpclient/encoding.py Ln 392
1110
ipfshttpclient/http.py Ln 2,4,134
1211
ipfshttpclient/version.py Ln 7
12+
13+
THESE MAY REFER TO THE ACTUAL API
14+
ipfshttpclient/client.py All occurrences
1315
test/run-tests.py Ln 68,102
1416

1517

test/unit/test_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def setUp(self):
142142
self.client = ipfshttpclient.http.HTTPClient(
143143
'localhost',
144144
5001,
145-
'http_client/v0')
145+
'api/v0')
146146

147147
def test_successful_request(self):
148148
"""Tests that a successful http request returns the proper message."""
@@ -221,7 +221,7 @@ def test_session(self):
221221

222222

223223
def test_stream_close(mocker):
224-
client = ipfshttpclient.http.HTTPClient("localhost", 5001, "http_client/v0")
224+
client = ipfshttpclient.http.HTTPClient("localhost", 5001, "api/v0")
225225
mocker.patch("ipfshttpclient.http._notify_stream_iter_closed")
226226
with HTTMock(return_okay):
227227
with client.request("/okay", stream=True) as response_iter:

0 commit comments

Comments
 (0)