1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00

fix tests

This commit is contained in:
Jan Lukas Gernert 2023-08-10 00:01:10 +02:00
parent 2c76a89f9d
commit 1584649eb4
3 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
<article><iframe id="video" width="100%" height="500" src="https://www.youtube.com/embed/8KjaIumu-jI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" title="RIGGED! Arena Shuffler is BROKEN | 13 Land Mono Red Burn"><empty></empty></iframe></article>
<article><iframe id="video" width="100%" height="400" src="https://www.youtube.com/embed/8KjaIumu-jI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" title="RIGGED! Arena Shuffler is BROKEN | 13 Land Mono Red Burn"><empty></empty></iframe></article>

View file

@ -170,7 +170,7 @@ mod tests {
let url = Url::parse("https://finshots.in").unwrap();
let res = clean_html_fragment(html, &url).unwrap();
assert_eq!(res.html.len(), 11959);
assert_eq!(res.html.len(), 11989);
assert_eq!(
res.thumbnail.as_deref(),
Some("https://cdn.finshots.app/images/2023/03/Design-8-Amul.jpg")

View file

@ -81,7 +81,7 @@ async fn heise_1() {
#[tokio::test]
async fn spiegel_1() {
run_test("spiegel-1", "https://www.spiegel.de/", None, None).await
}
}
#[tokio::test]
#[ignore = "downloads content from the web"]