"""Smoke tests for the package boundary (T1.1). These guard the most basic contract: the package is importable and exposes a version. If these fail, the install / src-layout is broken. """ import tsmm def test_package_is_importable(): assert tsmm is not None def test_package_exposes_version(): assert isinstance(tsmm.__version__, str) assert tsmm.__version__ # non-empty def test_subpackages_importable(): # M1 will populate these; the skeleton must already expose the namespaces. import importlib for sub in ("data", "model", "train", "eval"): mod = importlib.import_module(f"tsmm.{sub}") assert mod is not None