mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 12:09:56 +08:00
12 lines
328 B
Python
12 lines
328 B
Python
"""
|
|
pytest configuration for get_mode_requirements tests.
|
|
|
|
Adds the get_mode_requirements/ directory to sys.path so that
|
|
from get_mode_requirements import ...
|
|
works inside tests/ without any path manipulation in the test files.
|
|
"""
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
sys.path.insert(0, str(Path(__file__).resolve().parent))
|