()
| 7041 | |
| 7042 | #[test] |
| 7043 | fn artifact_store_limits_map_to_rust_session_options() { |
| 7044 | let mut session_options = PySessionOptions::new(); |
| 7045 | session_options.artifact_store_limits = Some(PyArtifactStoreLimits { |
| 7046 | max_artifacts: 3, |
| 7047 | max_bytes: 4096, |
| 7048 | }); |
| 7049 | |
| 7050 | let opts = build_rust_session_options(session_options).unwrap(); |
| 7051 | let limits = opts.artifact_store_limits.expect("limits"); |
| 7052 | assert_eq!(limits.max_artifacts, 3); |
| 7053 | assert_eq!(limits.max_bytes, 4096); |
| 7054 | } |
| 7055 | |
| 7056 | #[test] |
| 7057 | fn verification_reports_from_value_accepts_array_and_single_report() { |
nothing calls this directly
no test coverage detected