mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 21:43:59 +08:00
11 lines
230 B
Python
11 lines
230 B
Python
|
|
import pytest
|
||
|
|
|
||
|
|
from openpilot.common.prefix import OpenpilotPrefix
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.fixture(scope="function", autouse=True)
|
||
|
|
def global_setup_and_teardown():
|
||
|
|
# setup a clean environment for each test
|
||
|
|
with OpenpilotPrefix():
|
||
|
|
yield
|