~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-11-22 22:27:58 UTC
  • mfrom: (5537.2.1 move-inter)
  • Revision ID: pqm@pqm.ubuntu.com-20101122222758-wr1j89eb778ypclt
(spiv) Move InterKnitRepo and InterWeaveRepo out of bzrlib/repository.py
 (Jelmer Vernooij)

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