Open TheTelematic opened 6 days ago
Also, I have a custom fixture of event_loop, which is necessary otherwise the tests fail due to there are some async tasks terminated before they should, but pytest-asyncio complains about the custom fixture.
The first warning is solved in #10 , but it still this warning related to my previous comment:
DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in
/Users/arturo/PycharmProjects/plytix-pim-client/tests/conftest.py:13
Replacing the event_loop fixture with a custom implementation is deprecated
and will lead to errors in the future.
If you want to request an asyncio event loop with a scope other than function
scope, use the "scope" argument to the asyncio mark when marking the tests.
If you want to return different types of event loops, use the event_loop_policy
fixture.