diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:26:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:26:43 +0000 |
commit | 8fd7f9bfed753dbaa5543747569b4c2543aff03d (patch) | |
tree | 1b8854ec7e68bb7daf7e8b7db657669d930a99be /tests/test_info.py | |
parent | Releasing debian version 0.12.9-1. (diff) | |
download | gita-8fd7f9bfed753dbaa5543747569b4c2543aff03d.tar.xz gita-8fd7f9bfed753dbaa5543747569b4c2543aff03d.zip |
Merging upstream version 0.15.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_info.py')
-rw-r--r-- | tests/test_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_info.py b/tests/test_info.py index 025aedc..c234d78 100644 --- a/tests/test_info.py +++ b/tests/test_info.py @@ -8,9 +8,9 @@ from gita import info def test_run_quiet_diff(mock_run): mock_return = MagicMock() mock_run.return_value = mock_return - got = info.run_quiet_diff(['my', 'args']) + got = info.run_quiet_diff(['--flags'], ['my', 'args']) mock_run.assert_called_once_with( - ['git', 'diff', '--quiet', 'my', 'args'], + ['git', '--flags', 'diff', '--quiet', 'my', 'args'], stderr=subprocess.DEVNULL, ) assert got == mock_return.returncode |