test: add unified probe unit tests (8 Rust + 6 Python), fix pre-existing test compilation errors
This commit is contained in:
@@ -4912,16 +4912,19 @@ mod tests {
|
||||
started_at: Some(
|
||||
chrono::DateTime::parse_from_rfc3339("2024-01-01T10:00:00Z")
|
||||
.unwrap()
|
||||
.with_timezone(&chrono::Utc),
|
||||
.with_timezone(&chrono::Utc)
|
||||
.to_rfc3339(),
|
||||
),
|
||||
updated_at: Some(
|
||||
chrono::DateTime::parse_from_rfc3339("2024-01-01T10:05:00Z")
|
||||
.unwrap()
|
||||
.with_timezone(&chrono::Utc),
|
||||
.with_timezone(&chrono::Utc)
|
||||
.to_rfc3339(),
|
||||
),
|
||||
created_at: chrono::DateTime::parse_from_rfc3339("2024-01-01T09:55:00Z")
|
||||
.unwrap()
|
||||
.into(),
|
||||
.with_timezone(&chrono::Utc)
|
||||
.to_rfc3339(),
|
||||
processors: vec!["asr".to_string(), "cut".to_string()],
|
||||
completed_processors: vec!["asr".to_string()],
|
||||
failed_processors: vec![],
|
||||
|
||||
Reference in New Issue
Block a user