fix some more tests

This commit is contained in:
Jonathan Wren 2023-02-04 11:39:39 -08:00
parent a468510bcc
commit d764914b54
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -86,8 +86,7 @@ def we_have_type_of_keyring(keyring_type):
@given(parse('we use the config "{config_file}"'), target_fixture="config_path")
@given(parse("we use no config"), target_fixture="config_path")
def we_use_the_config(request, temp_dir, working_dir):
config_file = get_fixture(request, "config_file")
def we_use_the_config(request, temp_dir, working_dir, config_file):
# Move into temp dir as cwd
os.chdir(temp_dir.name)