maziggy
6484fddc1a
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:46:03 +02:00
..
2026-07-02 11:32:22 +02:00
2026-06-03 14:37:31 +02:00
2026-07-12 08:44:53 +02:00
2026-08-02 11:46:03 +02:00
2026-07-11 09:05:49 +02:00
2026-08-01 10:35:22 +02:00
2026-07-30 09:49:56 +02:00
2026-07-30 09:49:56 +02:00
2026-07-14 11:52:56 +02:00
2026-05-22 13:55:16 +02:00
2026-07-31 09:30:06 +02:00
2026-07-31 08:47:57 +02:00
2026-07-06 07:54:30 +02:00
2026-07-16 09:47:21 +02:00
2026-06-22 10:00:02 +02:00
2026-07-18 09:33:22 +02:00
2026-06-29 10:59:29 +02:00
2026-07-07 10:31:19 +02:00
2026-07-31 09:33:35 +02:00
2026-05-22 16:31:16 +02:00
2026-07-20 13:04:35 +02:00
2026-05-22 09:28:43 +02:00
2026-07-21 07:26:19 +02:00
2026-07-06 13:03:22 +02:00
2026-07-30 13:52:56 +02:00
2026-06-22 08:15:29 +02:00
2026-07-17 08:16:35 +02:00
2026-07-30 18:04:38 +02:00
2026-06-19 07:28:09 +02:00
2026-07-11 14:22:31 +02:00
2026-06-12 10:14:06 +02:00
2026-07-31 12:55:05 +02:00
2026-07-11 09:18:35 +02:00
2026-07-29 09:02:39 +02:00
2026-07-27 10:34:56 +02:00
2026-07-31 08:18:05 +02:00
2026-06-12 10:14:06 +02:00
2026-07-30 17:14:07 +02:00
2026-07-27 11:18:54 +02:00
2026-06-25 09:26:33 +02:00
2026-06-10 08:39:21 +02:00
2026-07-22 09:57:27 +02:00
2026-06-10 08:39:21 +02:00
2026-06-09 09:16:36 +02:00
2026-07-01 09:50:30 +02:00
2026-07-18 16:41:15 +02:00
2026-06-02 12:12:54 +02:00
2026-07-30 15:11:08 +02:00
2026-05-22 14:22:37 +02:00
2026-07-31 16:16:39 +02:00
2026-06-02 14:33:20 +02:00
2026-06-07 08:39:40 +02:00