tests: ignore versions for subprojects

This commit is contained in:
Saugat Pachhai (सौगात)
2022-11-07 12:45:32 +01:00
committed by David de la Iglesia Castro
parent 1de983f0de
commit a48a19ce31
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def test_(tmp_dir, dvc, scm, capsys):
assert re.search(rf"DVC version: {DVC_VERSION_REGEX}", out)
assert re.search(f"Platform: {PYTHON_VERSION_REGEX} on .*", out)
for subproject in SUBPROJECTS:
assert re.search(rf"{subproject} = {DVC_VERSION_REGEX}", out)
assert re.search(rf"{subproject} = .*", out)
assert find_supported_remotes(out)
assert re.search(r"Cache types: .*", out)
+1 -1
View File
@@ -54,7 +54,7 @@ def test_info_in_repo(scm_init, tmp_dir):
assert re.search(rf"DVC version: {DVC_VERSION_REGEX}", dvc_info)
assert re.search(f"Platform: {PYTHON_VERSION_REGEX} on .*", dvc_info)
for subproject in SUBPROJECTS:
assert re.search(rf"{subproject} = {DVC_VERSION_REGEX}", dvc_info)
assert re.search(rf"{subproject} = .*", dvc_info)
assert find_supported_remotes(dvc_info)
assert re.search(r"Cache types: .*", dvc_info)