~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Michael Hudson
  • Date: 2009-02-10 01:57:06 UTC
  • mto: This revision was merged to the branch mainline in revision 267.
  • Revision ID: michael.hudson@canonical.com-20090210015706-kjmo79xghst7kzga
convert tests to TestCaseWithTransport subclasses runnable with trial

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import sys
24
24
import urlparse
25
25
 
26
 
from configobj import ConfigObj
 
26
from bzrlib.util.configobj.configobj import ConfigObj
27
27
 
28
28
from paste import httpserver
29
29
from paste.httpexceptions import make_middleware
115
115
        def app(environ, start_response, orig=app):
116
116
            environ['SCRIPT_NAME'] = path
117
117
            environ['HTTP_HOST'] = netloc
 
118
            environ['wsgi.url_scheme'] = scheme
118
119
            return orig(environ, start_response)
119
120
 
120
121
    try: