Skip to content

Commit

Permalink
Fixed test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
max-pfeiffer committed Jan 21, 2024
1 parent a1157c8 commit 679d885
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Empty file added backend/tests/api/__init__.py
Empty file.
Empty file added backend/tests/unit/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion backend/tests/unit/test_relay_services.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Tests for services."""
from fake_objects import FakeRelay
from tests.fake_objects import FakeRelay

from app.adapters.waveshare import WaveshareRpiRelayBoardAdapter
from app.services import switch_relay_off, switch_relay_on
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Tests for the Waveshare board adapter."""
import pytest
from fake_objects import FakeRelay

from app.adapters.waveshare import WaveshareRpiRelayBoardAdapter
from tests.fake_objects import FakeRelay


def test_relay_board_adapter() -> None:
Expand Down

0 comments on commit 679d885

Please sign in to comment.