changeset 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 27591b5bb9d9
children 8867908fe8c7
files tests/test-bookmarks.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bookmarks.py	Thu May 02 22:11:16 2013 +0400
+++ b/tests/test-bookmarks.py	Mon May 06 14:41:10 2013 -0500
@@ -15,9 +15,9 @@
                           ([('zero', rev0, node0[:12])], -1))
 
         self.client.bookmark('one', rev1)
-        self.assertEquals(self.client.bookmarks(),
-                          ([('one', rev1, node1[:12]),
-                            ('zero', rev0, node0[:12])], -1))
+        self.assertEquals(self.client.bookmarks()[0],
+                          [('one', rev1, node1[:12]),
+                           ('zero', rev0, node0[:12])])
 
     #def test_spaces(self):
     #    self.client.bookmark('s pace', self.rev0)