Delete duplicate schema and source tests
This commit is contained in:
parent
8907faa873
commit
16d85b1bdf
2 changed files with 0 additions and 209 deletions
|
|
@ -2926,27 +2926,6 @@ mod tests {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn runtime_source_has_no_generic_role_patch_parser() {
|
||||
let retired_field = ["state", "Patch"].concat();
|
||||
let production = include_str!("lib.rs")
|
||||
.split("#[cfg(test)]")
|
||||
.next()
|
||||
.unwrap_or_default();
|
||||
assert!(!production.contains(&retired_field));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn runtime_source_exposes_no_caller_authored_provider_request_store() {
|
||||
let production = include_str!("lib.rs")
|
||||
.split("#[cfg(test)]")
|
||||
.next()
|
||||
.unwrap_or_default();
|
||||
assert!(!production.contains("pub fn store_openai_request"));
|
||||
assert!(!production.contains("pub fn record_openai_events"));
|
||||
assert!(production.contains("pub fn record_native_model_events"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn role_ingress_rejects_duplicate_top_level_fields() {
|
||||
let error = parse_assistant_json::<RoleWorkerResultIngress>(
|
||||
|
|
|
|||
Reference in a new issue