diff --git a/Makefile.local b/Makefile.local --- a/Makefile.local +++ b/Makefile.local @@ -1 +1 @@ -TEST_DIRS := ./swh/core/tests +TEST_DIRS := ./swh/core/api/tests ./swh/core/db/tests ./swh/core/tests diff --git a/requirements-test.txt b/requirements-test.txt --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ pytest +pytest-aiohttp pytest-mock requests-mock hypothesis >= 3.11.0 diff --git a/swh/core/api/tests/test_async.py b/swh/core/api/tests/test_async.py --- a/swh/core/api/tests/test_async.py +++ b/swh/core/api/tests/test_async.py @@ -18,8 +18,6 @@ ) from swh.core.api.serializers import SWHJSONEncoder, json_dumps, msgpack_dumps -pytest_plugins = ["aiohttp.pytest_plugin", "pytester"] - class TestServerException(Exception): pass