~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2010-02-17 17:11:16 UTC
  • mfrom: (4797.2.17 2.1)
  • mto: (4797.2.18 2.1)
  • mto: This revision was merged to the branch mainline in revision 5055.
  • Revision ID: john@arbash-meinel.com-20100217171116-h7t9223ystbnx5h8
merge bzr.2.1 in preparation for NEWS entry.

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
    )