mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-07-01 03:59:37 +02:00
add network capture endpoint replay
This commit is contained in:
parent
72edb61881
commit
cb31c70465
34 changed files with 5996 additions and 8 deletions
|
|
@ -597,7 +597,7 @@ mod tests {
|
|||
"#;
|
||||
let entries = parse_sitemap_xml(xml);
|
||||
// Should return at least the successfully parsed entry
|
||||
assert!(entries.len() >= 1);
|
||||
assert!(!entries.is_empty());
|
||||
assert_eq!(entries[0].url, "https://example.com/good");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ mod tests {
|
|||
.await
|
||||
.is_ok()
|
||||
);
|
||||
assert!(is_blocked_ip(IpAddr::V4(Ipv4Addr::new(8, 8, 8, 8))) == false);
|
||||
assert!(!is_blocked_ip(IpAddr::V4(Ipv4Addr::new(8, 8, 8, 8))));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue