dulwich.contrib.test_release_robot module

Tests for release_robot.

class dulwich.contrib.test_release_robot.GetRecentTagsTest(methodName='runTest')

Bases: unittest.case.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 = 'Mark Mikofski <mark.mikofski@sunpowercorp.com>'
classmethod setUpClass()

Hook method for setting up class fixture before running tests in the class.

tag_test_data = {'v0.1': [1484788314, '1111111111111111111111111111111111111111', (1484788401, '2222222222222222222222222222222222222222')], 'v0.1a': [1484788003, '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 = '/tmp/tmp.JIVTmRvJEC/dulwich/contrib/dulwich_test_repo.zip'
test_tags = ['v0.1a', 'v0.1']
class dulwich.contrib.test_release_robot.TagPatternTests(methodName='runTest')

Bases: unittest.case.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)