Merge pull request 'Тест версии не зависит от файла VERSION в копии пакета (#3)' (#4) from feat/3-version-test-copy into main
This commit is contained in:
commit
52857a0491
@ -5,8 +5,8 @@ from arm_statements.version import statements_version
|
||||
FULL_HASH = "abc1234def5678abc1234def5678abc1234def56"
|
||||
|
||||
|
||||
def test_version_absent_in_source() -> None:
|
||||
assert statements_version() is None
|
||||
def test_version_absent_file_is_none(tmp_path: Path) -> None:
|
||||
assert statements_version(tmp_path / "VERSION") is None
|
||||
|
||||
|
||||
def test_version_read_from_file(tmp_path: Path) -> None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user