Ignore warnings from testing tools out of our control
@@ -29,6 +29,12 @@ def pytest_configure(config):
# Unexpected warnings should fail the tests. Use `-Wignore` to explicitly disable it.
config.addinivalue_line('filterwarnings', 'error')
+ # Warnings from the testing tools out of our control should not fail the tests.
+ config.addinivalue_line('filterwarnings', 'ignore:"@coroutine":DeprecationWarning:asynctest.mock')
+ config.addinivalue_line('filterwarnings', 'ignore:The loop argument:DeprecationWarning:aiohttp')
+ config.addinivalue_line('filterwarnings', 'ignore:The loop argument:DeprecationWarning:aiojobs')
+ config.addinivalue_line('filterwarnings', 'ignore:The loop argument:DeprecationWarning:asyncio.queues') # aiojobs
+
def pytest_addoption(parser):
parser.addoption("--only-e2e", action="store_true", help="Execute end-to-end tests only.")
