Files
xinjian0101-continuity-dire…/tests/_bootstrap.py
xinjian0101 4289f7f828 feat: upload complete v0.8.0 ComfyUI plugin and redesign dashboard
Publish the complete Continuity Director plugin with 14 functional nodes, a bilingual production dashboard, examples, tests, package metadata, help documentation, and CI. Remove obsolete encoded bootstrap artifacts and source-reconstruction automation.
2026-06-19 15:01:57 +08:00

11 lines
558 B
Python

from __future__ import annotations
import importlib.util
import sys
from pathlib import Path
ROOT=Path(__file__).resolve().parents[1]
PACKAGE_NAME="continuity_director_testpkg"
if PACKAGE_NAME not in sys.modules:
spec=importlib.util.spec_from_file_location(PACKAGE_NAME,ROOT/"__init__.py",submodule_search_locations=[str(ROOT)])
if spec is None or spec.loader is None: raise RuntimeError("Unable to load Continuity Director package")
module=importlib.util.module_from_spec(spec); sys.modules[PACKAGE_NAME]=module; spec.loader.exec_module(module)