19 lines
422 B
Python
19 lines
422 B
Python
"""Test bootstrap for the flattened product-commerce module."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
MODULE_ROOT = (
|
|
Path(__file__).resolve().parents[3]
|
|
/ "src"
|
|
/ "gyxx_flow"
|
|
/ "modules"
|
|
/ "product_commerce"
|
|
)
|
|
|
|
# The migrated scripts intentionally retain their original sibling imports.
|
|
if str(MODULE_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(MODULE_ROOT))
|