~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-30 10:09:30 UTC
  • mfrom: (14606.2.8 apocalibrarian)
  • Revision ID: launchpad@pqm.canonical.com-20111230100930-kp3e0l6wakissewm
[r=wgrant][no-qa] Move canonical.librarian to
        lp.services.librarian(server).

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__)