Skip to content

Commit

Permalink
Making test work no matter how you check it out.
Browse files Browse the repository at this point in the history
  • Loading branch information
wpietri committed Jul 17, 2024
1 parent f482fa2 commit 04889bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_benchmark_code_record(benchmark_score):
r = benchmark_run_record(benchmark_score)
code = r["_metadata"]["code"]
assert code["git_version"].startswith("git version 2")
assert code["origin"] in ["[email protected]:mlcommons/modelbench.git", "'https://github.com/mlcommons/modelbench'"]
assert code["origin"] in ["[email protected]:mlcommons/modelbench.git", "https://github.com/mlcommons/modelbench"]
assert re.match(r"v[.0-9]+-\d+-[a-z0-9]{8}", code["code_version"])
assert isinstance(code["changed_files"], list) # hard to be more specific here

Expand Down

0 comments on commit 04889bd

Please sign in to comment.