~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/ssl_certs/create_ssls.py

  • Committer: Andrew Bennetts
  • Date: 2009-12-03 05:57:41 UTC
  • mfrom: (4857 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4869.
  • Revision ID: andrew.bennetts@canonical.com-20091203055741-vmmg0fmjgjw2pwvu
MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    Popen,
47
47
    PIPE,
48
48
    )
 
49
import sys
 
50
 
 
51
# We want to use the right bzrlib: the one we are part of
 
52
# FIXME: The fllowing is correct but looks a bit ugly 
 
53
_dir = os.path.dirname
 
54
our_bzr = _dir(_dir(_dir(_dir(os.path.realpath(__file__)))))
 
55
sys.path.insert(0, our_bzr)
49
56
 
50
57
from bzrlib import (
51
58
    osutils,
105
112
    server_locality='LocalHost',
106
113
    server_organization='Testing Ltd',
107
114
    server_section='https server',
108
 
    server_name='localhost', # Always accessed under that name
 
115
    server_name='127.0.0.1', # Always accessed under that name
109
116
    server_email='https_server@locahost',
110
117
    server_optional_company_name='',
111
118
    )