419
419
repo_dir = bzrdir.BzrDirMetaFormat1().initialize('repository')
420
420
repo = repository.RepositoryFormat7().initialize(repo_dir)
421
421
target_format = repository.RepositoryFormatKnit1()
424
422
converter = repository.CopyConverter(target_format)
426
428
repo = repo_dir.open_repository()
427
429
self.assertTrue(isinstance(target_format, repo._format.__class__))