tests: remove exact comment count assertion
This commit is contained in:
parent
2b91c76b85
commit
f236458f73
1 changed files with 0 additions and 6 deletions
|
|
@ -792,12 +792,6 @@ async fn get_video_comments() {
|
||||||
|
|
||||||
let n_comments = top_comments.count.unwrap();
|
let n_comments = top_comments.count.unwrap();
|
||||||
assert_gte(n_comments, 700_000, "comments");
|
assert_gte(n_comments, 700_000, "comments");
|
||||||
// Comment count should be exact after fetching first page
|
|
||||||
assert!(
|
|
||||||
n_comments % 1000 != 0,
|
|
||||||
"estimated comment count: {}",
|
|
||||||
n_comments
|
|
||||||
);
|
|
||||||
|
|
||||||
let latest_comments = details
|
let latest_comments = details
|
||||||
.latest_comments
|
.latest_comments
|
||||||
|
|
|
||||||
Reference in a new issue