108
108
class TestCaseWithRepository(TestCaseWithBzrDir):
110
def make_repository(self, relpath, shared=False, format=None):
112
112
# Create a repository of the type we are trying to test.
113
113
made_control = self.make_bzrdir(relpath)
115
116
if getattr(self, "repository_to_test_repository", None):
116
117
repo = self.repository_to_test_repository(repo)
119
120
return super(TestCaseWithRepository, self).make_repository(
123
124
class BrokenRepoScenario(object):