fix_commit_hash

This commit is contained in:
Kenneth Kehl
2024-03-14 13:25:02 -07:00
parent a09e813f80
commit 3aacdcb3ef
5 changed files with 9 additions and 4 deletions

View File

@@ -49,3 +49,8 @@ def test_merge_jsonlike_merges_jsonlike_objects_correctly(
):
merge_jsonlike(source_object, destination_object)
assert source_object == expected_result
def test_commit_hash():
# Assert that we have trimmed the default (unknown) commit hash to seven characters
# The real commit hash is supplied at deploy time.
assert current_app.config["COMMIT_HASH"] == "-------"