~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/librarianserver/testing/server.py

  • Committer: William Grant
  • Date: 2011-12-30 01:48:17 UTC
  • mto: (14606.3.6 apocaremains)
  • mto: This revision was merged to the branch mainline in revision 14608.
  • Revision ID: william.grant@canonical.com-20111230014817-7qmddxz1x941socp
Move the rest of canonical.librarian to lp.services.librarianserver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    TacException,
27
27
    TacTestSetup,
28
28
    )
29
 
from canonical.librarian.storage import _relFileLocation
 
29
from lp.services.librarianserver.storage import _relFileLocation
30
30
from lp.services.osutils import get_pid_from_file
31
31
 
32
32
 
158
158
        #2010-10-20 14:28:21+0530 [-] Log opened.
159
159
        #2010-10-20 14:28:21+0530 [-] twistd 10.1.0 (/usr/bin/python 2.6.5) starting up.
160
160
        #2010-10-20 14:28:21+0530 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
161
 
        #2010-10-20 14:28:21+0530 [-] canonical.librarian.libraryprotocol.FileUploadFactory starting on 59090
162
 
        #2010-10-20 14:28:21+0530 [-] Starting factory <canonical.librarian.libraryprotocol.FileUploadFactory instance at 0x6f8ff38>
 
161
        #2010-10-20 14:28:21+0530 [-] lp.services.librarianserver.libraryprotocol.FileUploadFactory starting on 59090
 
162
        #2010-10-20 14:28:21+0530 [-] Starting factory <lp.services.librarianserver.libraryprotocol.FileUploadFactory instance at 0x6f8ff38>
163
163
        #2010-10-20 14:28:21+0530 [-] twisted.web.server.Site starting on 58000
164
164
        #2010-10-20 14:28:21+0530 [-] Starting factory <twisted.web.server.Site instance at 0x6fb2638>
165
 
        #2010-10-20 14:28:21+0530 [-] canonical.librarian.libraryprotocol.FileUploadFactory starting on 59095
166
 
        #2010-10-20 14:28:21+0530 [-] Starting factory <canonical.librarian.libraryprotocol.FileUploadFactory instance at 0x6fb25f0>
 
165
        #2010-10-20 14:28:21+0530 [-] lp.services.librarianserver.libraryprotocol.FileUploadFactory starting on 59095
 
166
        #2010-10-20 14:28:21+0530 [-] Starting factory <lp.services.librarianserver.libraryprotocol.FileUploadFactory instance at 0x6fb25f0>
167
167
        #2010-10-20 14:28:21+0530 [-] twisted.web.server.Site starting on 58005
168
168
        self.upload_port = int(chunks[3].split()[-1])
169
169
        self.download_port = int(chunks[5].split()[-1])