~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_bzrdir/test_bzrdir.py

  • Committer: Martin Pool
  • Date: 2010-09-29 03:55:03 UTC
  • mto: This revision was merged to the branch mainline in revision 5461.
  • Revision ID: mbp@sourcefrog.net-20100929035503-09oulhx1d61ya1hc
Update a test for BzrDir.create_workingtree so that it covers bug 524627

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
        TestSkipped.  Returns the newly created working tree.
170
170
        """
171
171
        try:
172
 
            return a_bzrdir.create_workingtree()
 
172
            # This passes in many named options to make sure they're
 
173
            # understood by subclasses: see
 
174
            # <https://bugs.launchpad.net/bzr/+bug/524627>.
 
175
            return a_bzrdir.create_workingtree(
 
176
                revision_id=None,
 
177
                from_branch=None,
 
178
                accelerator_tree=None,
 
179
                hardlink=False)
173
180
        except errors.NotLocalUrl:
174
181
            raise TestSkipped("cannot make working tree with transport %r"
175
182
                              % a_bzrdir.transport)