def METHOD_NAME(self):
    self.init_github_fake()
    self.gh_data = {
        '/repos/a/b/pulls?state=open&per_page=100':
            ([pr_data(11), pr_data(12), pr_data(13)], {}),
    }
    # PRs <10 are closed
    # PRs >10 are open
    self.inject_pr('a/b', 1)
    self.inject_pr('a/b', 2)
    self.inject_pr('a/b', 3)
    self.inject_pr('a/b', 11)
    self.inject_pr('a/b', 12)
    periodic_sync.sync_repo(TOKEN, 'a/b')
    for task in self.taskqueue.get_filtered_tasks():
        deferred.run(task.payload)
    open_prs = models.GHIssueDigest.find_open_prs().fetch()
    open_prs = [pr.number for pr in open_prs]
    self.assertEqual(open_prs, [11, 12, 13])