Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings at test_bottery.test_default_properties #160

Open
rougeth opened this issue Apr 29, 2018 · 0 comments
Open

Warnings at test_bottery.test_default_properties #160

rougeth opened this issue Apr 29, 2018 · 0 comments
Labels

Comments

@rougeth
Copy link
Owner

rougeth commented Apr 29, 2018

Session of the bot fixture must be closed after used. Probably here: https://github.com/rougeth/bottery/blob/master/tests/test_bottery.py#L22

tests/test_bottery.py::test_default_properties[loop-AbstractEventLoop]
  bottery/tests/test_bottery.py:22: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
    bot.session.close()

tests/test_bottery.py::test_default_properties[session-ClientSession]
  bottery/tests/test_bottery.py:22: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
    bot.session.close()
@rougeth rougeth added the bug label Apr 29, 2018
@rougeth rougeth changed the title Fix test_bottery warnings Warnings at test_bottery.test_default_properties Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant