fix more tests

This commit is contained in:
Jonathan Wren 2022-06-04 18:56:36 -07:00
parent 5cb46f572d
commit 57f53e96ce
5 changed files with 53 additions and 34 deletions

View file

@ -120,9 +120,9 @@ def config_exists(config_file, temp_dir, working_dir):
shutil.copy2(config_source, config_dest)
@given(parse('we use the password "{pw}" if prompted'), target_fixture="password")
def use_password_forever(pw):
return pw
@given(parse('we use the password "{password}" if prompted'))
def use_password_forever(password):
return password
@given("we create a cache directory", target_fixture="cache_dir")