Update aiohttp handling with upc connect (#6108)
* Refactor upc connect * fix aiohttp cleanup * fix test * fix tests * allow status code for login
This commit is contained in:
1 parent
58f813b518
commit
5d8e219448
2 files changed
+13
-21
No files matched your search
@@ -73,8 +73,9 @@ class AiohttpClientMocker:
|
||||
self.mock_calls.clear()
|
||||
|
||||
@asyncio.coroutine
|
||||
# pylint: disable=unused-variable
|
||||
def match_request(self, method, url, *, data=None, auth=None, params=None,
|
||||
headers=None): # pylint: disable=unused-variable
|
||||
headers=None, allow_redirects=None):
|
||||
"""Match a request against pre-registered requests."""
|
||||
for response in self._mocks:
|
||||
if response.match_request(method, url, params):
|
||||
|
||||
Reference in new issue
Block a user