~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2010-11-20 21:41:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5548.
  • Revision ID: jelmer@samba.org-20101120214105-4g88c3i133alubkb
Move InterWeaveRepo and InterKnitRepo to related repository files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
                                ]
587
587
        repo_a = self.make_repository('a')
588
588
        repo_b = self.make_repository('b')
589
 
        is_compatible = repository.InterWeaveRepo.is_compatible
 
589
        is_compatible = weaverepo.InterWeaveRepo.is_compatible
590
590
        for source in incompatible_formats:
591
591
            # force incompatible left then right
592
592
            repo_a._format = source
598
598
            for target in formats:
599
599
                repo_b._format = target
600
600
                self.assertTrue(is_compatible(repo_a, repo_b))
601
 
        self.assertEqual(repository.InterWeaveRepo,
 
601
        self.assertEqual(weaverepo.InterWeaveRepo,
602
602
                         repository.InterRepository.get(repo_a,
603
603
                                                        repo_b).__class__)
604
604