15 lines
262 B
Python
15 lines
262 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
|
|
|
from router_system.router import build_router
|
|
|
|
|
|
@pytest.fixture()
|
|
def router():
|
|
"""????????? mock ?????????????"""
|
|
return build_router()
|