bambuddy/backend/tests
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
..
_fixtures feat(auth): proxy OIDC provider icons server-side (#1333) (#1342) 2026-05-15 08:50:37 +02:00
integration Merge branch 'main' into 1.2.5.2 2026-08-02 11:04:26 +02:00
unit Stop the Bambu Cloud TOTP tests reaching the network 2026-08-02 11:45:18 +02:00
__init__.py Add comprehensive automated testing infrastructure 2025-12-11 10:03:40 +01:00
conftest.py feat(projects): per-file print progress and complete-sets tracking (#1897) 2026-07-28 12:46:31 +02:00
pytest.ini test(pytest): silence upstream starlette httpx2 deprecation noise 2026-05-30 14:19:19 +02:00