LIghtJUNction
8d26c38b32
test(dashboard): add tests for command and api_key routes
Add tests for:
- command.py: toggle/rename/permission endpoints with missing params
- api_key.py: create with invalid scopes/expires_in_days, revoke/delete
with missing key_id and not found cases
This improves coverage:
- api_key.py: 73% -> 96%
- command.py: 35% -> 60%
2026-03-23 12:34:44 +08:00
..
2026-03-23 01:18:03 +08:00
2026-03-23 02:04:06 +08:00
2026-03-22 22:30:53 +08:00
2026-03-23 02:49:15 +08:00
2026-03-17 18:05:58 +08:00
2026-03-23 02:49:15 +08:00
2026-03-19 23:30:25 +08:00
2026-03-20 13:32:06 +08:00
2026-03-23 02:49:15 +08:00
2026-03-21 00:09:58 +08:00
2026-03-18 20:12:30 +08:00
2026-03-19 23:30:25 +08:00
2026-03-22 22:30:53 +08:00
2026-03-14 23:41:28 +08:00
2026-03-23 02:49:15 +08:00
2026-03-18 22:35:49 +08:00
2026-03-23 01:56:39 +08:00
2026-03-23 12:34:44 +08:00
2026-03-18 22:35:49 +08:00
2026-03-23 02:49:15 +08:00
2026-03-21 00:09:58 +08:00
2026-03-21 12:25:04 +08:00
2026-03-11 23:58:28 +09:00
2026-03-20 20:52:21 +08:00
2026-02-11 17:14:47 +08:00
2026-02-11 17:14:47 +08:00
2026-03-21 00:19:08 +08:00
2026-03-23 05:55:59 +08:00
2026-03-23 05:55:59 +08:00
2026-03-22 19:50:36 +08:00
2026-03-19 23:30:25 +08:00
2026-02-12 23:42:29 +09:00
2026-03-07 21:42:56 +09:00
2025-11-03 02:43:00 +08:00
2026-03-23 05:55:59 +08:00
2026-03-22 22:44:05 +08:00
2026-02-12 01:04:48 +08:00
2026-03-23 05:55:59 +08:00
2026-03-23 03:12:38 +08:00
2026-03-23 02:49:15 +08:00
2026-03-22 19:50:26 +08:00