bottery icon indicating copy to clipboard operation
bottery copied to clipboard

Warnings at test_bottery.test_default_properties

Open rougeth opened this issue 7 years ago • 0 comments

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 avatar Apr 29 '18 21:04 rougeth