~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/repository_implementations/test_repository.py

  • Committer: Andrew Bennetts
  • Date: 2007-12-07 06:36:56 UTC
  • mto: This revision was merged to the branch mainline in revision 3095.
  • Revision ID: andrew.bennetts@canonical.com-20071207063656-8qbhv4r21as6su0v
Implement RemoteRepository._make_parents_provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
629
629
            self.get_vfs_only_url('remote')).open_repository()
630
630
        self.assertEqual(remote_backing_repo._format, local_repo._format)
631
631
 
 
632
    def test__make_parents_provider(self):
 
633
        """Repositories must have a _make_parents_provider method that returns
 
634
        an object with a get_parents method.
 
635
        """
 
636
        repo = self.make_repository('repo')
 
637
        repo._make_parents_provider().get_parents
 
638
 
632
639
 
633
640
class TestRepositoryLocking(TestCaseWithRepository):
634
641