Mercurial > hgsubversion
diff tests/test_fetch_mappings.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 | 77bd24841a5f |
children | 9a6bb3657861 |
line wrap: on
line diff
--- a/tests/test_fetch_mappings.py +++ b/tests/test_fetch_mappings.py @@ -149,9 +149,9 @@ class MapTests(test_util.TestBase): # The exclusion of alpha is overridden by the later rule to # include all of '.', whereas gamma should remain excluded # because it's excluded after the root directory. - self.assertEqual(self.repo[0].manifest().keys(), + self.assertEqual(sorted(self.repo[0].manifest().keys()), ['alpha', 'beta']) - self.assertEqual(self.repo['default'].manifest().keys(), + self.assertEqual(sorted(self.repo['default'].manifest().keys()), ['alpha', 'beta']) @test_util.requiresreplay