You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
motief/tests/test_explorer_import.py

14 lines
462 B

"""Smoke test: explorer module is importable without DB or heavy computation."""
import importlib
def test_explorer_importable():
mod = importlib.import_module("explorer")
assert hasattr(mod, "run_app")
assert callable(mod.run_app)
assert hasattr(mod, "load_positions")
assert hasattr(mod, "load_motions_df")
assert hasattr(mod, "query_similar")
assert hasattr(mod, "build_compass_tab")
assert hasattr(mod, "build_search_tab")