Skip to content

Commit

Permalink
Remove the scope
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Oct 17, 2023
1 parent 9fb35e7 commit 895b5f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# --------


@pytest.fixture(scope="function", autouse=True)
@pytest.fixture(autouse=True)
def mock_strip() -> MagicMock:
"""Mock the LED strip.
Expand All @@ -37,7 +37,7 @@ def mock_strip() -> MagicMock:
yield mock


@pytest.fixture(scope="function", autouse=True)
@pytest.fixture(scope="module", autouse=True)
def mock_mqtt() -> MagicMock:
"""Mock the MQTT client.
Expand Down

0 comments on commit 895b5f6

Please sign in to comment.