summaryrefslogtreecommitdiffstats
path: root/tests/test_info.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:26:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:26:30 +0000
commitd6fb6e20014db80336431d38b9ee4d1ab233e905 (patch)
tree135e5a472dee94cbfeae03cc910d1e1732921e8c /tests/test_info.py
parentAdding upstream version 0.12.9. (diff)
downloadgita-d6fb6e20014db80336431d38b9ee4d1ab233e905.tar.xz
gita-d6fb6e20014db80336431d38b9ee4d1ab233e905.zip
Adding upstream version 0.15.1.upstream/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.py4
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