summaryrefslogtreecommitdiffstats
path: root/tests/commands/try_repo_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commands/try_repo_test.py')
-rw-r--r--tests/commands/try_repo_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commands/try_repo_test.py b/tests/commands/try_repo_test.py
index 0b2db7e..c5f891e 100644
--- a/tests/commands/try_repo_test.py
+++ b/tests/commands/try_repo_test.py
@@ -43,7 +43,7 @@ def _run_try_repo(tempdir_factory, **kwargs):
def test_try_repo_repo_only(cap_out, tempdir_factory):
- with mock.patch.object(time, 'time', return_value=0.0):
+ with mock.patch.object(time, 'monotonic', return_value=0.0):
_run_try_repo(tempdir_factory, verbose=True)
start, config, rest = _get_out(cap_out)
assert start == ''