close client session on teardown, fixes error messages

This commit is contained in:
draco 2023-12-27 00:34:07 +01:00
parent 8bb5fc9b23
commit 0ba450dcfe
1 changed files with 3 additions and 1 deletions

View File

@ -21,4 +21,6 @@ def qobuz_client():
client = QobuzClient(config)
arun(client.login())
return client
yield client
arun(client.session.close())