mirror of
https://github.com/GAM-team/GAM.git
synced 2025-05-13 12:47:21 +00:00
Fix mock_http.py
typo
This commit is contained in:
parent
9ffabc15ff
commit
f35bde4f8b
@ -108,7 +108,7 @@ class MockHttpClient(atom.http_interface.GenericHttpClient):
|
|||||||
for recording in self.recordings:
|
for recording in self.recordings:
|
||||||
if recording[0].operation == operation and recording[0].url == url:
|
if recording[0].operation == operation and recording[0].url == url:
|
||||||
return recording[1]
|
return recording[1]
|
||||||
raise NoRecordingFound('No recodings found for %s %s' % (
|
raise NoRecordingFound('No recordings found for %s %s' % (
|
||||||
operation, url))
|
operation, url))
|
||||||
else:
|
else:
|
||||||
# There is a real HTTP client, so make the request, and record the
|
# There is a real HTTP client, so make the request, and record the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user