diff options
author | Ilia Abashin <abashinos@gmail.com> | 2017-08-15 17:58:28 +0300 |
---|---|---|
committer | Ilia Abashin <abashinos@gmail.com> | 2017-08-15 18:00:32 +0300 |
commit | 798f7292513d08e0120e52775f0a4952adc7cef3 (patch) | |
tree | 3913f23ae4393ebc6073ff9a72e5ad00ffc3a544 /app/discover/fetchers | |
parent | bdfb12fb1f24987be56f84fc3b41ffedea5f70f3 (diff) |
Fixed api_access unit tests
Fixed issues caused by migration to 'requests' library
Change-Id: I4b77c9b5be8149639ae287c18055382f3892fff4
Signed-off-by: Ilia Abashin <abashinos@gmail.com>
Diffstat (limited to 'app/discover/fetchers')
-rw-r--r-- | app/discover/fetchers/api/api_access.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/fetchers/api/api_access.py b/app/discover/fetchers/api/api_access.py index 3250378..84c4de3 100644 --- a/app/discover/fetchers/api/api_access.py +++ b/app/discover/fetchers/api/api_access.py @@ -161,7 +161,7 @@ class ApiAccess(Fetcher): else:
msg = ", response: {}".format(response.text)
self.log.error("req_url: {} {}".format(req_url, msg))
- return response
+ return None
ret = response.json()
return ret
|