Skip to content

fix: commit missing vloop_test/ploop_test model fixtures - #41

Open
petercorke wants to merge 1 commit into
mainfrom
fix/commit-missing-model-test-fixtures
Open

fix: commit missing vloop_test/ploop_test model fixtures#41
petercorke wants to merge 1 commit into
mainfrom
fix/commit-missing-model-test-fixtures

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

RVC3/models/vloop_test.py/.bd and RVC3/models/ploop_test.py/.bd were never actually tracked in git. They only "worked" because they sat as untracked files in local working directories, invisible under the blanket *test* .gitignore rule removed in #40. Discovered by running pytest tests/ --runall in a genuinely clean worktree, which a real clean checkout doesn't have and breaks:

  • rvctool --test's bdsim check (RVC3/bin/rvctool.py imports vloop_test directly)
  • figures/code/chapter9/fig9_13.py, fig9_14.py (import ploop_test)
  • notebooks/scripts/chap9.py (%run -m ploop_test -H)

Test plan

  • pytest tests/test_bin.py fails on main in a clean worktree with No module named 'vloop_test' before this change
  • Passes in a separate from-scratch worktree checked out at this branch's tip after adding the files

These were never actually tracked in git -- they only "worked" because
they sat as untracked files in local working directories, invisible
under the old blanket `*test*` .gitignore rule removed in #40. A clean
checkout doesn't have them, which breaks:
  - rvctool --test's bdsim check (imports vloop_test directly)
  - figures/code/chapter9/fig9_13.py, fig9_14.py (import ploop_test)
  - notebooks/scripts/chap9.py (%run -m ploop_test -H)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant