~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/librarianserver/testing/tests/test_fakelibrarian.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:
12
12
from zope.component import getUtility
13
13
from zope.security.proxy import removeSecurityProxy
14
14
 
15
 
from lp.services.webapp.testing import verifyObject
16
 
from canonical.librarian.client import LibrarianClient
17
 
from canonical.librarian.interfaces import ILibrarianClient
18
 
from canonical.librarian.testing.fake import FakeLibrarian
19
 
from lp.testing.layers import (
20
 
    DatabaseFunctionalLayer,
21
 
    LaunchpadFunctionalLayer,
22
 
    )
 
15
from lp.services.librarian.client import LibrarianClient
23
16
from lp.services.librarian.interfaces import ILibraryFileAliasSet
 
17
from lp.services.librarian.interfaces.client import ILibrarianClient
24
18
from lp.services.librarian.model import (
25
19
    LibraryFileAlias,
26
20
    LibraryFileAliasSet,
27
21
    )
 
22
from lp.services.librarianserver.testing.fake import FakeLibrarian
 
23
from lp.services.webapp.testing import verifyObject
28
24
from lp.testing import TestCaseWithFactory
 
25
from lp.testing.layers import (
 
26
    DatabaseFunctionalLayer,
 
27
    LaunchpadFunctionalLayer,
 
28
    )
29
29
 
30
30
 
31
31
class LibraryAccessScenarioMixin: