~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/librarianserver/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:
8
8
 
9
9
from zope.component import getUtility
10
10
 
 
11
from lp.services.apachelogparser.base import (
 
12
    get_method_and_path,
 
13
    parse_file,
 
14
    )
 
15
from lp.services.librarian.interfaces import ILibraryFileAliasSet
 
16
from lp.services.librarianserver.apachelogparser import get_library_file_id
 
17
from lp.services.log.logger import BufferLogger
11
18
from lp.testing import (
12
19
    ANONYMOUS,
13
20
    login,
 
21
    TestCase,
14
22
    )
15
23
from lp.testing.layers import (
16
24
    DatabaseFunctionalLayer,
17
25
    ZopelessLayer,
18
26
    )
19
 
from lp.services.apachelogparser.base import (
20
 
    get_method_and_path,
21
 
    parse_file,
22
 
    )
23
 
from lp.services.librarian.apachelogparser import get_library_file_id
24
 
from lp.services.librarian.interfaces import ILibraryFileAliasSet
25
 
from lp.services.log.logger import BufferLogger
26
 
from lp.testing import TestCase
27
27
 
28
28
 
29
29
here = os.path.dirname(__file__)