Mercurial > python-hglib
comparison tests/test-bookmarks.py @ 114:2e2055fc66c3
tests: ignore bookmarks active mark for testing with pre-2.6
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 06 May 2013 14:41:10 -0500 |
parents | 6190432f1d39 |
children | 4359cabcb0cc |
comparison
equal
deleted
inserted
replaced
113:27591b5bb9d9 | 114:2e2055fc66c3 |
---|---|
13 self.client.bookmark('zero', rev0) | 13 self.client.bookmark('zero', rev0) |
14 self.assertEquals(self.client.bookmarks(), | 14 self.assertEquals(self.client.bookmarks(), |
15 ([('zero', rev0, node0[:12])], -1)) | 15 ([('zero', rev0, node0[:12])], -1)) |
16 | 16 |
17 self.client.bookmark('one', rev1) | 17 self.client.bookmark('one', rev1) |
18 self.assertEquals(self.client.bookmarks(), | 18 self.assertEquals(self.client.bookmarks()[0], |
19 ([('one', rev1, node1[:12]), | 19 [('one', rev1, node1[:12]), |
20 ('zero', rev0, node0[:12])], -1)) | 20 ('zero', rev0, node0[:12])]) |
21 | 21 |
22 #def test_spaces(self): | 22 #def test_spaces(self): |
23 # self.client.bookmark('s pace', self.rev0) | 23 # self.client.bookmark('s pace', self.rev0) |
24 # self.assertEquals(self.client.bookmarks(), | 24 # self.assertEquals(self.client.bookmarks(), |
25 # ([('s pace', 0, self.rev0.node[:12])], -1)) | 25 # ([('s pace', 0, self.rev0.node[:12])], -1)) |