(self)
| 6 | class TestContribute(unittest.TestCase): |
| 7 | |
| 8 | def test_arguments(self): |
| 9 | args = contribute.arguments(['-nw']) |
| 10 | self.assertTrue(args.no_weekends) |
| 11 | self.assertEqual(args.max_commits, 10) |
| 12 | self.assertTrue(1 <= contribute.contributions_per_day(args) <= 20) |
| 13 | |
| 14 | def test_contributions_per_day(self): |
| 15 | args = contribute.arguments(['-nw']) |
nothing calls this directly
no outgoing calls
no test coverage detected