~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/apachelogparser/tests/test_apachelogparser.py

  • Committer: William Grant
  • Date: 2011-12-30 01:04:24 UTC
  • mto: (14606.3.6 apocaremains)
  • mto: This revision was merged to the branch mainline in revision 14608.
  • Revision ID: william.grant@canonical.com-20111230010424-hs374yyj63lzzsz7
Create lp.services.librarianserver, moving librarian.apachelogparser into it. And move the smoketest from canonical.librarian to lp.services.librarian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
from zope.component import getUtility
12
12
 
13
 
from lp.services.config import config
14
 
from lp.services.webapp.interfaces import (
15
 
    DEFAULT_FLAVOR,
16
 
    IStoreSelector,
17
 
    MAIN_STORE,
18
 
    )
19
 
from lp.testing.layers import (
20
 
    LaunchpadZopelessLayer,
21
 
    ZopelessLayer,
22
 
    )
23
13
from lp.services.apachelogparser.base import (
24
14
    create_or_update_parsedlog_entry,
25
15
    get_day,
30
20
    parse_file,
31
21
    )
32
22
from lp.services.apachelogparser.model.parsedapachelog import ParsedApacheLog
33
 
from lp.services.librarian.apachelogparser import DBUSER
 
23
from lp.services.config import config
 
24
from lp.services.librarianserver.apachelogparser import DBUSER
34
25
from lp.services.log.logger import BufferLogger
 
26
from lp.services.webapp.interfaces import (
 
27
    DEFAULT_FLAVOR,
 
28
    IStoreSelector,
 
29
    MAIN_STORE,
 
30
    )
35
31
from lp.testing import TestCase
 
32
from lp.testing.layers import (
 
33
    LaunchpadZopelessLayer,
 
34
    ZopelessLayer,
 
35
    )
36
36
 
37
37
 
38
38
here = os.path.dirname(__file__)