~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: mbp at sourcefrog
  • Date: 2007-02-13 07:28:10 UTC
  • mto: This revision was merged to the branch mainline in revision 2283.
  • Revision ID: mbp@sourcefrog.net-20070213072810-ofxj46bg7en5tx4e
update tests for new locations of weave repos

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
    def test_is_compatible_and_registered(self):
404
404
        # InterWeaveRepo is compatible when either side
405
405
        # is a format 5/6/7 branch
406
 
        formats = [repository.RepositoryFormat5(),
407
 
                   repository.RepositoryFormat6(),
408
 
                   repository.RepositoryFormat7()]
409
 
        incompatible_formats = [repository.RepositoryFormat4(),
410
 
                                repository.RepositoryFormatKnit1(),
 
406
        from bzrlib.repofmt import knitrepo, weaverepo
 
407
        formats = [weaverepo.RepositoryFormat5(),
 
408
                   weaverepo.RepositoryFormat6(),
 
409
                   weaverepo.RepositoryFormat7()]
 
410
        incompatible_formats = [weaverepo.RepositoryFormat4(),
 
411
                                knitrepo.RepositoryFormatKnit1(),
411
412
                                ]
412
413
        repo_a = self.make_repository('a')
413
414
        repo_b = self.make_repository('b')