~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interrepository/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
        if self.extra_setup:
160
160
            self.extra_setup(self)
161
161
 
 
162
    def get_default_format(self):
 
163
        self.assertEquals(
 
164
            self.repository_format._matchingbzrdir.repository_format,
 
165
            self.repository_format)
 
166
        return self.repository_format._matchingbzrdir
 
167
 
162
168
    def make_branch(self, relpath, format=None):
163
169
        repo = self.make_repository(relpath, format=format)
164
170
        return repo.bzrdir.create_branch()