~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/doc/karmacache.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
which runs daily. The script does that by using the IKarmaCacheManager API.
10
10
 
11
11
    >>> from zope.component import getUtility
12
 
    >>> from canonical.testing.layers import LaunchpadZopelessLayer
 
12
    >>> from lp.testing.layers import LaunchpadZopelessLayer
13
13
    >>> from lp.registry.interfaces.karma import IKarmaCacheManager
14
14
    >>> from lp.registry.interfaces.person import IPersonSet
15
15
    >>> from lp.registry.model.karma import KarmaCategory