Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Hotfix for autotests: delete cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegYurchik committed Mar 15, 2024
1 parent 43c66be commit aad6fcf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autotests/clients/rest/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ async def start(self):
async def stop(self):
await self.__aexit__() # pylint: disable=unnecessary-dunder-call

async def request(self, *args, **kwargs):
response = await super().request(*args, **kwargs)
self.cookies.clear()
return response

async def rest_request(
self,
method: str,
Expand Down

0 comments on commit aad6fcf

Please sign in to comment.