Update tests/test_versions_yml.py

Co-authored-by: Fabian Egli <fabianegli@users.noreply.github.com>
This commit is contained in:
Mahesh Binzer-Panchal 2022-06-10 12:54:08 +02:00 committed by GitHub
parent e75dd10667
commit 6a1cbce0f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,5 +56,5 @@ def test_ensure_valid_version_yml(workflow_dir):
assert len(software_versions), "There must be at least one version emitted."
for tool, version in software_versions.items():
assert re.match(
r"(^\d+.*|^[a-z0-9]{40}$)", str(version)
r"(^\d+.*|^[a-f0-9]{40}$)", str(version)
), f"Version number for {tool} must start with a number. "