13 lines
280 B
Python
13 lines
280 B
Python
|
|
"""
|
||
|
|
Pytest configuration for the-door.
|
||
|
|
|
||
|
|
Ensures the project root is on sys.path so the `crisis` package
|
||
|
|
can be imported cleanly in tests.
|
||
|
|
"""
|
||
|
|
|
||
|
|
import sys
|
||
|
|
import os
|
||
|
|
|
||
|
|
# Add project root to path so `import crisis` works
|
||
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|