MCPcopy Create free account
hub / github.com/Shpota/github-activity-generator / test_arguments

Method test_arguments

test_contribute.py:8–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6class 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'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected