(self)
| 2106 | self.assertTrue(seenJacquev6) |
| 2107 | |
| 2108 | def testStatisticsCommitActivity(self): |
| 2109 | with mock.patch("github.Requester.Consts.PROCESSING_202_WAIT_TIME", 0): |
| 2110 | stats = self.repo.get_stats_commit_activity() |
| 2111 | self.assertEqual( |
| 2112 | stats[0].week, |
| 2113 | datetime(2012, 11, 18, 0, 0, tzinfo=timezone.utc), |
| 2114 | ) |
| 2115 | self.assertEqual(stats[0].total, 29) |
| 2116 | self.assertEqual(stats[0].days, [0, 7, 3, 9, 7, 3, 0]) |
| 2117 | |
| 2118 | def testStatisticsCodeFrequency(self): |
| 2119 | with mock.patch("github.Requester.Consts.PROCESSING_202_WAIT_TIME", 0): |
nothing calls this directly
no test coverage detected