allura
修訂 | 2459ae83a33e36b8c343f763deea0cfcc1cb667e (tree) |
---|---|
時間 | 2011-10-06 02:14:56 |
作者 | Rick Copeland <rcopeland@geek...> |
Commiter | Rick Copeland |
[#2020] Add tests for new Hg repo stuff
Signed-off-by: Rick Copeland <rcopeland@geek.net>
@@ -35,6 +35,7 @@ class TestNewRepo(unittest.TestCase): | ||
35 | 35 | assert self.rev.index_id().startswith('allura/model/repo/Commit#') |
36 | 36 | self.rev.author_url |
37 | 37 | self.rev.committer_url |
38 | + assert self.rev.tree._id == self.rev.tree_id | |
38 | 39 | assert self.rev.summary == self.rev.message.splitlines()[0] |
39 | 40 | assert self.rev.shorthand_id() == '[r5]' |
40 | 41 | assert self.rev.symbolic_ids == ([], []) |