Rev 3623: Switch names to 'unordered' that I missed before. in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/fetch_regression_256757

John Arbash Meinel john at arbash-meinel.com
Tue Aug 19 00:12:01 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/fetch_regression_256757

------------------------------------------------------------
revno: 3623
revision-id: john at arbash-meinel.com-20080818231159-r9buncgsgj6cja4j
parent: john at arbash-meinel.com-20080818223421-todjny24vj4faj4t
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: fetch_regression_256757
timestamp: Mon 2008-08-18 18:11:59 -0500
message:
  Switch names to 'unordered' that I missed before.
modified:
  bzrlib/tests/repository_implementations/test_repository.py test_repository.py-20060131092128-ad07f494f5c9d26c
  bzrlib/tests/test_pack_repository.py test_pack_repository-20080801043947-eaw0e6h2gu75kwmy-1
-------------- next part --------------
=== modified file 'bzrlib/tests/repository_implementations/test_repository.py'
--- a/bzrlib/tests/repository_implementations/test_repository.py	2008-07-28 09:12:28 +0000
+++ b/bzrlib/tests/repository_implementations/test_repository.py	2008-08-18 23:11:59 +0000
@@ -68,7 +68,7 @@
         """Test the the _fetch_order attribute."""
         tree = self.make_branch_and_tree('tree')
         repo = tree.branch.repository
-        self.assertTrue(repo._fetch_order in ('topological', 'unsorted'))
+        self.assertTrue(repo._fetch_order in ('topological', 'unordered'))
 
     def test_attribute__fetch_uses_deltas(self):
         """Test the the _fetch_uses_deltas attribute."""
@@ -949,7 +949,7 @@
         self.assertRaises(errors.NoSuchRevision,
                           self.bzrdir.open_repository().get_ancestry, 'orphan')
 
-    def test_get_unsorted_ancestry(self):
+    def test_get_unordered_ancestry(self):
         repo = self.bzrdir.open_repository()
         self.assertEqual(set(repo.get_ancestry('rev3')),
                          set(repo.get_ancestry('rev3', topo_sorted=False)))

=== modified file 'bzrlib/tests/test_pack_repository.py'
--- a/bzrlib/tests/test_pack_repository.py	2008-08-18 19:13:51 +0000
+++ b/bzrlib/tests/test_pack_repository.py	2008-08-18 23:11:59 +0000
@@ -65,7 +65,7 @@
         """Packs do not need ordered data retrieval."""
         format = self.get_format()
         repo = self.make_repository('.', format=format)
-        self.assertEqual('unsorted', repo._fetch_order)
+        self.assertEqual('unordered', repo._fetch_order)
 
     def test_attribute__fetch_uses_deltas(self):
         """Packs reuse deltas."""



More information about the bazaar-commits mailing list