MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testClosedIssues

Method testClosedIssues

tests/Issue33.py:56–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.assertEqual(len(list(self.repo.get_issues())), 338)
55
56 def testClosedIssues(self):
57 # reduce the size of the record data file by executing the following:
58 # cat -n tests/ReplayData/Issue33.testClosedIssues.txt | while read -r lineno line
59 # do
60 # if [[ $(( lineno % 11 )) -eq 10 ]]
61 # then
62 # jq -c "[.[] | { id: .id }]" <<< "$line"
63 # else
64 # echo "$line"
65 # fi
66 # done > tests/ReplayData/Issue33.testClosedIssues.txt.new
67 # mv tests/ReplayData/Issue33.testClosedIssues.txt.new tests/ReplayData/Issue33.testClosedIssues.txt
68 self.assertEqual(len(list(self.repo.get_issues(state="closed"))), 950)

Callers

nothing calls this directly

Calls 1

get_issuesMethod · 0.45

Tested by

no test coverage detected