mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
Only print that the lock is being acquired when waiting
This commit is contained in:
parent
4aa787db19
commit
7cb3e00731
5 changed files with 34 additions and 28 deletions
|
|
@ -88,7 +88,7 @@ def test_clone(store, tempdir_factory, log_info_mock):
|
|||
|
||||
ret = store.clone(path, sha)
|
||||
# Should have printed some stuff
|
||||
assert log_info_mock.call_args_list[1][0][0].startswith(
|
||||
assert log_info_mock.call_args_list[0][0][0].startswith(
|
||||
'Initializing environment for ',
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue