Skip to content

Commit

Permalink
Update test_bake_project.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Sep 9, 2024
1 parent b959934 commit c131d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_bake_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ def _check_gen_files(project_dir: str, namespace: str):
assert fp.read().strip() != "", f"Empty file: {expected_file}"

# Widgets = False by default, so these files should not exist
for unexpected file in [
for unexpected_file in [
"notebooks/example.ipynb",
"src/pynwb/ndx_my_namespace/widgets/__init__.py",
"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)
assert not os.path.exists(expected_file), f"Unexpected file: {expected_file}"
unexpected_file = os.path.join(project_dir, unexpected_file)
assert not os.path.exists(unexpected_file), f"Unexpected file: {unexpected_file}"


if __name__ == "__main__":
Expand Down

0 comments on commit c131d46

Please sign in to comment.