Substra / substra

Low-level Python library used to interact with a Substra network

Home Page:https://docs.substra.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tests: run tests in subprocess

Fabien-GELUS opened this issue · comments

The tests marked as "subprocess" don't actually run on subprocess but on docker

To reproduce:
close docker desktop / client
run make test

There are docker errors in the subprocess tests:
ERROR tests/sdk/local/test_debug.py::TestsDebug::test_tasks_extra_fields[subprocess] - ConnectionError: Couldn't get the Docker client from environment variables.

As there is no "mark" in the substra tests, all fixtures are loaded, even the docker ones, that will trigger a ConnectionError even for some of the subprocess mode that are parametrize alongside docker mode.