Move data inside package and update references

This commit is contained in:
thePR0M3TH3AN
2025-06-21 12:20:51 -04:00
parent c5b6077eee
commit b72d726bd5
31 changed files with 8 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ from voxvera import cli
def _setup_tmp(monkeypatch, tmp_path):
repo_root = Path(__file__).resolve().parent.parent
shutil.copytree(repo_root / "src", tmp_path / "src")
shutil.copytree(repo_root / "voxvera" / "src", tmp_path / "src")
monkeypatch.setattr(cli, "ROOT", tmp_path)
monkeypatch.setattr(cli, "_src_res", lambda *p: tmp_path / "src" / Path(*p))
monkeypatch.setattr(cli, "run", lambda *a, **k: None)