~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/tests/helpers.py

  • Committer: William Grant
  • Date: 2011-12-12 06:23:32 UTC
  • mto: This revision was merged to the branch mainline in revision 14590.
  • Revision ID: william.grant@canonical.com-20111212062332-t02yg770onyksmq8
Port dev/test stuff away from it, and drop hosted_branches_root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        "Can only create branches for HOSTED branches: %r"
161
161
        % db_branch)
162
162
    branch_dir = os.path.join(
163
 
        config.codehosting.hosted_branches_root,
 
163
        config.codehosting.mirrored_branches_root,
164
164
        branch_id_to_path(db_branch.id))
165
165
    return create_branch_with_one_revision(branch_dir)
166
166