test: Fix commit result assertion in test_noop_commit

This commit is contained in:
Andrew Grigorev 2025-04-12 19:45:01 +03:00
parent 5664b5b195
commit 37a252748a

View file

@ -606,7 +606,7 @@ class TestRepo(unittest.TestCase):
git_repo = GitRepo(InputOutput(), None, None)
commit_result = git_repo.commit(fnames=[str(fname)])
self.assertIsNotNone(commit_result)
self.assertIsNone(commit_result)
def test_git_commit_verify(self):
"""Test that git_commit_verify controls whether --no-verify is passed to git commit"""