fix: refactor client version extraction, set client timezone

This commit is contained in:
ThetaDev 2023-04-15 01:10:08 +02:00
parent 73cb64aad1
commit 44a46dbeb9
2 changed files with 100 additions and 82 deletions

View file

@ -519,9 +519,9 @@ fn get_video_details_ccommons(rp: RustyPipe) {
assert!(details.recommended.visitor_data.is_some());
assert_next(details.recommended, rp.query(), 10, 1);
assert_gte(details.top_comments.count.unwrap(), 2199, "comments");
assert!(!details.top_comments.is_exhausted());
assert!(!details.latest_comments.is_exhausted());
assert_eq!(details.top_comments.count.unwrap(), 0);
assert!(details.top_comments.is_exhausted());
assert!(details.latest_comments.is_exhausted());
}
#[rstest]