Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Aug 5, 2024
1 parent 4c6b4ec commit a745cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_config_invalid_file(tmpdir):
with pytest.raises(MalformedConfig):
config.load_pyfile(mock_config.strpath)

@pytest.mark.usefixtures(_restore_cwd)
@pytest.mark.usefixtures(name="_restore_cwd")
def test_load_config(tmpdir):
mock_inspirehep_var_cfg = tmpdir.mkdir('var').mkdir('inspirehep-instance').join("inspirehep.cfg")
mock_inspirehep_var_cfg.write("SERVER_NAME = '0.0.0.0'")
Expand Down

0 comments on commit a745cbb

Please sign in to comment.