Move the YAML node script tests into scripts/tests #122
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/yaml-test-folder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
YN-5. The two test files and the fixtures move to
scripts/tests/(withgit mv). CI runspython3 -m unittest discover -s scripts/tests -t scripts; the-t scriptsputs the generator on the import path with no extra code.build_yaml_nodes.shstays put and now readsscripts/tests/fixtures/, which stay outsidenodes/so they never join the real-node uniqueness checks.The fixtures are now block-style YAML. The S3 fixture's relay gets a
togglebind from its latching switch, and a new test generates it and asserts the output containsToggleOnChange, so CI covers that path and not just that it compiles.Tested: 26 Python tests pass locally with none skipped (was 25), and all three fixtures and the sample still build.