Skip to content

Commit

Permalink
updates git-status test.
Browse files Browse the repository at this point in the history
  • Loading branch information
birkin committed Jan 25, 2025
1 parent 4c6754d commit 75a8af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_git_status_clean(self):
git_result: tuple[bool, dict] = lib_git_handler.run_git_status(cur_dir)
(ok, output) = git_result
self.assertTrue(ok is True)
self.assertIn('clean', output['stdout'])
self.assertIn('working tree clean', output['stdout'])

def test_git_status_not_clean(self):
"""
Expand All @@ -75,7 +75,7 @@ def test_git_status_not_clean(self):
git_result: tuple[bool, dict] = lib_git_handler.run_git_status(target_dir)
(ok, output) = git_result
self.assertTrue(ok is True)
self.assertNotIn('clean', output['stdout'])
self.assertNotIn('working tree clean', output['stdout'])


class TestMiscellaneous(unittest.TestCase):
Expand Down

0 comments on commit 75a8af9

Please sign in to comment.