예제 #1
0
 def testCustomPerPageWithNoUrlParams(self):
     import CommitComment  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment
     self.g.per_page = 100
     paginated_list = PaginatedListImpl(
         CommitComment.CommitComment,
         self.repo._requester,
         self.repo.url + "/comments",
         None
     )
예제 #2
0
    def testCustomPerPageWithNoUrlParams(self):
        from . import (
            CommitComment,
        )  # Don't polute github.tests namespace, it would conflict with github.tests.CommitComment

        self.g.per_page = 100
        PaginatedListImpl(
            CommitComment.CommitComment,
            self.repo._requester,
            f"{self.repo.url}/comments",
            None,
        )