diff --git a/tests/test_bake_project.py b/tests/test_bake_project.py index bbdb67b..773c187 100644 --- a/tests/test_bake_project.py +++ b/tests/test_bake_project.py @@ -43,7 +43,7 @@ def test_bake_project_widgets(cookies): "src/pynwb/ndx_my_namespace/widgets/tetrode_series_widget.py", "src/pynwb/ndx_my_namespace/widgets/README.md", ]: - expected_file = os.path.join(project_dir, expected_file) + expected_file = os.path.join(results.project_path, expected_file) assert os.path.exists(expected_file), f"Missing file: {expected_file}" with open(expected_file, "r") as fp: