fixed test failures

This commit is contained in:
Beverly Nguyen
2024-10-25 13:16:07 -07:00
parent bdb3e777c5
commit 6a6a54e889
5 changed files with 15 additions and 8 deletions

View File

@@ -60,4 +60,6 @@ def test_commit_hash():
create_app(app)
with app.app_context() as current_app:
assert current_app.app.config["COMMIT_HASH"] == "-------"
commit_hash = current_app.app.config["COMMIT_HASH"]
sanitized_commit_hash = commit_hash.replace("", "").replace("", "").strip()
assert sanitized_commit_hash == "------"