mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-01 19:18:35 -04:00
25a4d134b1
Slice 2j of the route-domain reorganization (#4082/#4071). Moves search_routes.py into routes/search/, leaving a backward-compat sys.modules shim. Pure file reorganization, no behavior change.
12 lines
378 B
Python
12 lines
378 B
Python
"""Regression test for the search route shim (slice 2j, #4082/#4071)."""
|
|
|
|
import importlib
|
|
|
|
import routes.search_routes as _shim_search # noqa: F401
|
|
|
|
|
|
def test_legacy_and_canonical_search_module_are_same_object():
|
|
legacy = importlib.import_module("routes.search_routes")
|
|
canonical = importlib.import_module("routes.search.search_routes")
|
|
assert legacy is canonical
|