feat(common): add get_repo_dir function and corresponding tests

This commit is contained in:
2026-07-09 11:04:59 -04:00
parent 8db44916c8
commit 927c5cbc60
3 changed files with 16 additions and 3 deletions
+8 -1
View File
@@ -2,7 +2,14 @@
from __future__ import annotations
from python.common import bash_wrapper, utcnow
from python.common import bash_wrapper, get_repo_dir, utcnow
def test_get_repo_dir() -> None:
"""test_get_repo_dir."""
repo_dir = get_repo_dir()
assert (repo_dir / "pyproject.toml").is_file()
assert (repo_dir / "python" / "common.py").is_file()
def test_utcnow() -> None: