dulwich.contrib.test_release_robot module¶
Tests for release_robot.
- class dulwich.contrib.test_release_robot.GetRecentTagsTest(methodName='runTest')¶
Bases:
TestCase
test get recent tags
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- committer = b'Mark Mikofski <mark.mikofski@sunpowercorp.com>'¶
- classmethod setUpClass()¶
Hook method for setting up class fixture before running tests in the class.
- tag_test_data = {b'v0.1': [1484788314, b'1111111111111111111111111111111111111111', (1484788401, b'2222222222222222222222222222222222222222')], b'v0.1a': [1484788003, b'3333333333333333333333333333333333333333', None]}¶
- classmethod tearDownClass()¶
Hook method for deconstructing the class fixture after running all tests in the class.
- test_get_recent_tags()¶
test get recent tags
- test_repo = '/code/dulwich/dulwich/contrib/dulwich_test_repo.zip'¶
- test_tags = [b'v0.1a', b'v0.1']¶
- class dulwich.contrib.test_release_robot.TagPatternTests(methodName='runTest')¶
Bases:
TestCase
test tag patterns
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_tag_pattern()¶
test tag patterns
- dulwich.contrib.test_release_robot.gmtime_to_datetime(gmt)¶