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

Method testStatisticsParticipation

tests/Repository.py:2128–2244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2126 self.assertEqual(stats[0].deletions, -2098)
2127
2128 def testStatisticsParticipation(self):
2129 with mock.patch("github.Requester.Consts.PROCESSING_202_WAIT_TIME", 0):
2130 stats = self.repo.get_stats_participation()
2131 self.assertEqual(
2132 stats.owner,
2133 [
2134 1,
2135 36,
2136 8,
2137 0,
2138 0,
2139 8,
2140 18,
2141 0,
2142 0,
2143 0,
2144 0,
2145 7,
2146 20,
2147 6,
2148 9,
2149 0,
2150 4,
2151 11,
2152 20,
2153 16,
2154 0,
2155 3,
2156 0,
2157 16,
2158 0,
2159 0,
2160 6,
2161 1,
2162 4,
2163 0,
2164 1,
2165 6,
2166 0,
2167 0,
2168 12,
2169 10,
2170 0,
2171 0,
2172 0,
2173 1,
2174 44,
2175 0,
2176 20,
2177 10,
2178 0,
2179 0,
2180 0,
2181 0,
2182 0,
2183 10,
2184 0,
2185 0,

Callers

nothing calls this directly

Calls 2

patchMethod · 0.80

Tested by

no test coverage detected