~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/launchpad_loggerhead/tests.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-03 17:08:40 UTC
  • mfrom: (14600.3.7 germinate-all-dev-series)
  • Revision ID: launchpad@pqm.canonical.com-20120103170840-qw8albc2cp5bk7ry
[r=wgrant][bug=904538] Let cron.germinate handle multiple dev series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
import cStringIO
5
5
import errno
6
6
import logging
 
7
import re
 
8
import socket
7
9
import urllib
8
 
import socket
9
 
import re
10
10
 
11
11
import lazr.uri
 
12
from paste import httpserver
 
13
from paste.httpexceptions import HTTPExceptionHandler
12
14
import wsgi_intercept
13
 
from wsgi_intercept.urllib2_intercept import install_opener, uninstall_opener
 
15
from wsgi_intercept.urllib2_intercept import (
 
16
    install_opener,
 
17
    uninstall_opener,
 
18
    )
14
19
import wsgi_intercept.zope_testbrowser
15
 
from paste import httpserver
16
 
from paste.httpexceptions import HTTPExceptionHandler
17
20
import zope.event
18
21
 
 
22
from launchpad_loggerhead.app import RootApp
 
23
from launchpad_loggerhead.session import SessionHandler
19
24
from lp.services.config import config
20
25
from lp.services.webapp.vhosts import allvhosts
 
26
from lp.testing import TestCase
21
27
from lp.testing.layers import DatabaseFunctionalLayer
22
 
from launchpad_loggerhead.app import (
23
 
    RootApp,
24
 
    )
25
 
from launchpad_loggerhead.session import SessionHandler
26
 
from lp.testing import TestCase
 
28
 
27
29
 
28
30
SESSION_VAR = 'lh.session'
29
31