Scope the node-type fixture check to the built-ins
Playwright Tests / test-playwright (1, 2) (push) Canceled after 0s
Playwright Tests / test-playwright (2, 2) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Test Backend / test-backend (push) Canceled after 0s
Compose Smoke Test / test-compose (push) Canceled after 0s
Playwright Tests / merge-reports (push) Canceled after 0s

Installing the connectors made this fail, which is the test working: it
insists every offered type is exercised. But a connector is a separate
package with its own tests, so it is not this suite's to cover.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011LF61rxW1FG5YCD2J9YqjY
This commit is contained in:
2026-08-16 11:16:41 +02:00
co-authored by Claude Fable 5
parent 85abf58337
commit 3fa9141eb9
+7 -2
View File
@@ -125,6 +125,11 @@ def test_mqtt_routes_topics_by_port():
def test_every_offered_type_has_a_fixture(): def test_every_offered_type_has_a_fixture():
# A new node type without a fixture here would ship untested. # A new built-in without a fixture here would ship untested. Connectors are
offered = {info.type for info in node_type_info() if info.type != "python"} # separate packages and carry their own tests, so they are not this suite's.
offered = {
info.type
for info in node_type_info()
if info.type != "python" and not info.plugin
}
assert offered == set(FIXTURES) assert offered == set(FIXTURES)