test(gateway-image): probe package imports, not pre-refactor flat modules #430
Reference in New Issue
Block a user
Delete Branch "fix-gateway-image-test-imports"
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?
Closes #429.
test_python_imports_supervise_moduleprobed the gateway image withimport supervise; import supervise_server— the flat sibling modules5ad3449replaced with the installedbot_bottlepackage. Run against the current image it fails withModuleNotFoundError: No module named 'supervise'.It survived because the whole
TestGatewayImageclass carries aGITEA_ACTIONSskip (interactive-only, the build pulls a large base), so CI never executes it.Verification
All 4 tests in the class pass against a freshly built gateway image locally.
Whether this class should run in CI at all is left alone here — that overlaps #414 and #426.