bambuddy/backend
maziggy 8d3abf414b Stop the Bambu Cloud TOTP tests reaching the network
verify_totp fetches a CSRF token from the bambulab.com web origin before
posting the code (#2696) and returns early when it cannot get one. These
tests patch only post, so the pre-flight GET went out for real: it succeeded
wherever bambulab.com was reachable and returned a tokenless 403 on a CI
runner, where six tests then asserted on a post that never happened.

Stub the handshake for the module. It is covered end to end, no-token path
included, in tests/unit/test_cloud_totp_csrf.py.
2026-08-02 11:45:18 +02:00
..
app Bound the scheme repetition in the log credential-redaction pattern. As an 2026-08-02 11:17:24 +02:00
tests Stop the Bambu Cloud TOTP tests reaching the network 2026-08-02 11:45:18 +02:00
__init__.py