Files
OpenBench/OpenBench
claude c998e8c0d6 Pipelines: tests for the New pipeline page
Covers the page, one branch and Enter, and what goes wrong, with the real
scheduler and routing underneath: the first test is made from what the page
filled in, a pass starts the next test with its own settings, anything else
ends the run, and a first test that cannot be made leaves no pipeline behind.

The engines of the config are swapped for one the tests know, so they do not
depend on what a server has set up. The page is read the way a browser reads
it, because the site minifies its pages.

The shared test client now sends X-Forwarded-Proto: https, like the proxy in
front of the site. With SECURE_SSL_REDIRECT on, as in OpenSite/settings.py,
every plain-http request of the test client is otherwise answered with a
redirect to https, and no page test can pass.
2026-10-15 11:16:14 +02:00
..
2023-09-19 14:44:52 -04:00