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