()
| 1062 | } |
| 1063 | |
| 1064 | fn valid_session_response() -> crate::proto::CreateSshSessionResponse { |
| 1065 | crate::proto::CreateSshSessionResponse { |
| 1066 | sandbox_id: "sb-1234".to_string(), |
| 1067 | token: "abcDEF-123_456.789".to_string(), |
| 1068 | gateway_scheme: "https".to_string(), |
| 1069 | gateway_host: "gateway.example.com".to_string(), |
| 1070 | gateway_port: 443, |
| 1071 | host_key_fingerprint: String::new(), |
| 1072 | expires_at_ms: 0, |
| 1073 | } |
| 1074 | } |
| 1075 | |
| 1076 | #[test] |
| 1077 | fn validate_ssh_session_response_accepts_realistic_response() { |
no outgoing calls