()
| 663 | |
| 664 | #[test] |
| 665 | fn parse_error_body_non_json() { |
| 666 | let client = StorageClient::new("https://example.com", "acme", "tok").unwrap(); |
| 667 | let err = client.parse_error_body(502, "Bad Gateway"); |
| 668 | assert!(err.to_string().contains("502")); |
| 669 | } |
| 670 | |
| 671 | fn info_with_key(public_key: Option<String>) -> IdentityInfo { |
| 672 | IdentityInfo { |
nothing calls this directly
no test coverage detected