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

Method testOpenIssues

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

Source from the content-addressed store, hash-verified

40 self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks")
41
42 def testOpenIssues(self):
43 # reduce the size of the record data file by executing the following:
44 # cat -n tests/ReplayData/Issue33.testOpenIssues.txt | while read -r lineno line
45 # do
46 # if [[ $(( lineno % 11 )) -eq 10 ]]
47 # then
48 # jq -c "[.[] | { id: .id }]" <<< "$line"
49 # else
50 # echo "$line"
51 # fi
52 # done > tests/ReplayData/Issue33.testOpenIssues.txt.new
53 # mv tests/ReplayData/Issue33.testOpenIssues.txt.new tests/ReplayData/Issue33.testOpenIssues.txt
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:

Callers

nothing calls this directly

Calls 1

get_issuesMethod · 0.45

Tested by

no test coverage detected