93
112
class TestGenRevisionId(tests.TestCase):
94
113
"""Test generating revision ids"""
101
115
def assertGenRevisionId(self, regex, username, timestamp=None):
102
116
"""gen_revision_id should create a revision id matching the regex"""
103
117
revision_id = generate_ids.gen_revision_id(username, timestamp)
106
124
def test_timestamp(self):
107
125
"""passing a timestamp should cause it to be used"""