mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 13:38:12 +02:00
instead of creating a list of the comments, using
the paginated list and totalCount
This commit is contained in:
@ -254,8 +254,8 @@ def process_pull(
|
|||||||
)
|
)
|
||||||
dataset.entries.append(entry)
|
dataset.entries.append(entry)
|
||||||
|
|
||||||
comments = list(pr.get_review_comments())
|
comments = pr.get_review_comments()
|
||||||
assert len(comments) == 1
|
assert comments.totalCount == 1
|
||||||
comment = comments[0]
|
comment = comments[0]
|
||||||
commented_file_path = comment.path
|
commented_file_path = comment.path
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user