mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 23:18:42 +00:00
Move data inside package and update references
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user