11 lines
291 B
Python
11 lines
291 B
Python
"""pytest 路径:将 examples/simulator_browser_rpa/scripts 加入 import 路径。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
SCRIPTS = Path(__file__).resolve().parents[1] / "scripts"
|
|
if str(SCRIPTS) not in sys.path:
|
|
sys.path.insert(0, str(SCRIPTS))
|