vominh1919
0d563621fb
fix(test): skip bedrock adapter tests when botocore is not installed
...
Six tests in test_bedrock_adapter.py import botocore.exceptions
directly (ConnectionClosedError, EndpointConnectionError,
ReadTimeoutError, ClientError) without guarding the import. When
botocore is not installed (it's an optional dependency), these tests
fail with ModuleNotFoundError instead of being gracefully skipped.
Added pytest.importorskip('botocore') to each affected test function,
following the same pattern used elsewhere in the test suite (e.g.
test_voice_mode.py for numpy, test_mcp_oauth.py for mcp).
Tests affected:
- TestIsStaleConnectionError: 3 tests
- TestCallConverseInvalidatesOnStaleError: 3 tests
Before: 6 FAIL with ModuleNotFoundError
After: 6 SKIP with reason message
2026-05-04 04:41:55 -07:00
..
2026-05-03 15:25:45 -07:00
2026-02-26 13:54:20 +03:00
2026-05-02 01:51:51 -07:00
2026-04-24 07:14:00 -07:00
2026-04-19 22:43:09 -07:00
2026-05-03 17:00:55 -07:00
2026-04-13 04:59:26 -07:00
2026-04-27 08:35:50 -07:00
2026-04-30 20:18:44 -07:00
2026-04-28 06:50:14 -07:00
2026-04-27 20:41:36 -07:00
2026-05-04 04:41:55 -07:00
2026-04-24 07:26:07 -07:00
2026-04-29 23:23:50 -07:00
2026-04-14 01:43:45 -07:00
2026-04-27 06:27:59 -07:00
2026-04-30 20:00:01 -07:00
2026-04-10 19:15:50 -07:00
2026-04-20 01:56:41 -07:00
2026-04-29 20:05:32 -07:00
2026-04-19 18:12:55 -07:00
2026-05-02 02:00:32 -07:00
2026-04-07 17:19:07 -07:00
2026-04-30 10:31:47 -07:00
2026-05-02 01:29:57 -07:00
2026-05-04 01:21:23 -07:00
2026-04-30 23:04:50 -07:00
2026-05-04 02:19:28 -07:00
2026-04-29 08:10:29 -07:00
2026-04-20 22:14:29 -07:00
2026-03-15 20:21:21 -07:00
2026-04-19 22:45:47 -07:00
2026-04-29 21:56:54 -07:00
2026-03-29 00:33:30 -07:00
2026-04-20 02:10:53 -07:00
2026-04-24 04:46:17 -07:00
2026-04-24 05:35:17 -07:00
2026-04-24 03:40:00 -07:00
2026-04-21 21:30:10 -07:00
2026-04-27 06:27:59 -07:00
2026-04-20 23:20:33 -07:00
2026-04-29 06:35:42 -07:00
2026-04-22 14:46:10 -07:00
2026-04-24 14:37:55 -07:00
2026-04-29 08:09:03 -07:00
2026-04-22 05:27:10 -07:00
2026-04-07 22:23:28 -07:00
2026-04-29 23:18:55 -07:00
2026-04-28 12:27:36 -07:00
2026-04-24 03:00:33 -07:00
2026-04-28 01:57:21 -07:00
2026-04-22 02:59:58 -07:00
2026-04-30 23:14:31 -07:00
2026-04-26 04:53:42 -07:00
2026-04-29 08:08:36 -07:00
2026-05-03 01:54:24 -07:00
2026-04-23 12:50:22 +05:30
2026-03-21 16:54:43 -07:00
2026-04-21 05:52:46 -07:00
2026-04-09 03:43:14 -07:00
2026-04-20 11:49:54 -07:00
2026-04-26 20:48:35 -07:00
2026-04-20 20:53:51 -07:00
2026-04-29 21:07:47 -07:00
2026-05-02 01:36:53 -07:00
2026-04-30 20:37:15 -07:00
2026-04-27 12:37:33 -07:00
2026-04-21 14:23:45 -07:00
2026-04-20 20:53:51 -07:00
2026-04-09 03:10:30 -07:00
2026-04-28 01:47:25 -07:00
2026-04-30 20:43:15 -07:00
2026-04-25 05:50:34 -07:00
2026-04-25 08:21:14 -07:00
2026-04-22 17:40:49 -07:00
2026-04-16 07:45:13 -07:00