Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
c87aa4500This file is pinned to the selected release. Download the original to open it in your design tool.
import sys
from pathlib import Path
import pytest
sys.path.append(str(Path(__file__).parent.parent / "firmware"))
sys.path.append(str(Path(__file__).parent.parent)) # contrib
sys.path.append(str(Path(__file__).parent.parent / "tests" / "mocks"))
from mock_hardware import MockHardware
@pytest.fixture
def mockHardware(monkeypatch):
return MockHardware(monkeypatch)