comparison tests/test_tags.py @ 1482:253b2ab253a1 stable

tests: add some sorted() calls on unsorted sets These are all just defects in the tests exposed by running the tests under a random hash seed.
author Augie Fackler <raf@durin42.com>
date Sun, 26 Jun 2016 17:02:12 -0400
parents a36e87ae2380
children 9a6bb3657861
comparison
equal deleted inserted replaced
1481:1bb2df7523a3 1482:253b2ab253a1
126 repo[willedit].extra(), 126 repo[willedit].extra(),
127 {'close': '1', 127 {'close': '1',
128 'branch': 'magic', 128 'branch': 'magic',
129 'convert_revision': 'svn:af82cc90-c2d2-43cd-b1aa-c8a78449440a/tags/will-edit@19'}) 129 'convert_revision': 'svn:af82cc90-c2d2-43cd-b1aa-c8a78449440a/tags/will-edit@19'})
130 self.assertEqual(willedit, repo.tags()['will-edit']) 130 self.assertEqual(willedit, repo.tags()['will-edit'])
131 self.assertEqual(repo['will-edit'].manifest().keys(), ['alpha', 131 self.assertEqual(sorted(repo['will-edit'].manifest().keys()),
132 'beta', 132 ['alpha', 'beta', 'gamma'])
133 'gamma',
134 ])
135 self.assertEqual( 133 self.assertEqual(
136 repo[alsoedit].extra(), 134 repo[alsoedit].extra(),
137 {'close': '1', 135 {'close': '1',
138 'branch': 'magic', 136 'branch': 'magic',
139 'convert_revision': 'svn:af82cc90-c2d2-43cd-b1aa-c8a78449440a/tags/also-edit@14'}) 137 'convert_revision': 'svn:af82cc90-c2d2-43cd-b1aa-c8a78449440a/tags/also-edit@14'})