Skip to content

Commit b19f8b8

Browse files
corrected file path for bad test cases
1 parent 3967018 commit b19f8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/labpdfproc/tests/test_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def test_load_user_info(monkeypatch, inputs, expected, user_filesystem):
296296

297297
@pytest.mark.parametrize("inputs, msg", params_user_info_bad)
298298
def test_load_user_info_bad(monkeypatch, inputs, msg, user_filesystem):
299-
os.chdir(user_filesystem)
299+
os.chdir(user_filesystem / "conf_dir")
300300
input_username, input_email, input_config_file = inputs
301301
mock_prompt_user_info = iter([input_username, input_email])
302302
monkeypatch.setattr("builtins.input", lambda _: next(mock_prompt_user_info))

0 commit comments

Comments
 (0)