feat(common): add get_repo_dir function and corresponding tests

This commit is contained in:
Richie committed 2026-07-09 11:04:59 -04:00
1 parent 8db44916c8
commit 927c5cbc60
3 files changed
+16 -3

No files matched your search

+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: