Apply suggestions from code review of branch update-setting-manager

Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
Julian Stirling 2025-07-14 15:46:13 +00:00
parent e614ec577e
commit 34f8f86ef2
2 changed files with 10 additions and 8 deletions

View file

@ -80,7 +80,7 @@ def git_repo(temp_dir):
create_fake_file()
create_fake_file()
_git("add -A")
_git("commit -m 'message'")
_git("commit -m 'message2'")
yield temp_dir
@ -175,7 +175,7 @@ def test_reading_hash_from_git():
create_fake_file()
create_fake_file()
_git("add -A")
_git("commit -m 'message'")
_git("commit -m 'message2'")
git_hash2 = _git("rev-parse HEAD")
assert utilities._get_hash_from_git_dir(git_dir) == git_hash2