| 754 | } |
| 755 | |
| 756 | fn queue_cleanup_success_responses(runner: &mut FakeOpenclawRunner) { |
| 757 | runner.responses.push_back(ok_output("gpt-5")); |
| 758 | runner.responses.push_back(ok_output("")); |
| 759 | runner.responses.push_back(ok_output( |
| 760 | r#"{"CLAWSHELL_API_KEY":"virtual_key","OTHER":"value"}"#, |
| 761 | )); |
| 762 | runner.responses.push_back(ok_output( |
| 763 | r#"{"clawshell/gpt-5":{"alias":"clawshell"},"existing/model":{"alias":"existing"}}"#, |
| 764 | )); |
| 765 | runner.responses.push_back(ok_output("")); |
| 766 | runner.responses.push_back(ok_output("")); |
| 767 | runner.responses.push_back(ok_output("")); |
| 768 | runner.responses.push_back(ok_output("")); |
| 769 | } |
| 770 | |
| 771 | #[test] |
| 772 | fn test_openclaw_config_get_json_at_path_parses_json() { |