Skip to content
Snippets Groups Projects
Verified Commit 7cf88a6d authored by Karel Koci's avatar Karel Koci :metal:
Browse files

fixup! tests/conftest: allow a unique shell for every test

parent 6990d0f2
Branches
Tags
No related merge requests found
Pipeline #93332 passed with warnings with stages
in 1 minute and 16 seconds
......@@ -175,8 +175,8 @@ class BoardShell(nsfarm.cli.Shell):
super().__init__(self._board_access([]))
@pytest.fixture(name="fixture_board_access", scope="package")
def fixture_fixture_board_access(board_access) -> BoardShell:
@pytest.fixture(name="board_access_for_fixture", scope="package")
def fixture_board_access_for_fixture(board_access) -> BoardShell:
"""This is single instance of cli.Shell received from board_access that should be used in fixtures only.
The reason for this is that we have load of fixtures before we ever get to single tests and spawning shell for every
single one of the would get spammy very fast. We expect fixtures to be well behaved and thus we give them one shared
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment