Only print that the lock is being acquired when waiting

This commit is contained in:
Anthony Sottile 2017-09-04 11:27:47 -07:00
parent 4aa787db19
commit 7cb3e00731
5 changed files with 34 additions and 28 deletions

View file

@ -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 ',
)