Files
ServerKit/backend/tests
Juan DenisandClaude Opus 5 39c623c4e9 fix(tests): the "absent extension" seam test named a real extension
test_ext_to_ext_seam_absent_side_returns_default asserted that
get_installed_extension_attr returns its default for serverkit-analytics, on
the stated assumption that analytics "is not installed in this test panel".

That assumption is a property of the machine, not of the code. On a checkout
that HAS analytics under backend/app/plugins/, the seam correctly resolved
`inject` and the test failed with:

    assert <function inject at 0x...> is None

which reads as "the seam is broken" and means precisely the opposite -- the
seam did its job.

It now names a slug that cannot exist, so it tests the contract ("callee absent
-> default, never raises") instead of which extensions happen to be installed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 21:48:21 -04:00
..