~divmod-dev/divmod.org/gmail-imap-2730-2

« back to all changes in this revision

Viewing changes to Mantissa/xmantissa/test/test_offering.py

  • Committer: exarkun
  • Date: 2008-08-29 15:41:48 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:16529
Merge ioffering-2701

Author: exarkun
Reviewer: washort
Fixes: #2701

Fix the definition of `IOffering` to agree with the implementation.
`benefactorFactories` was removed a long time ago, but left on the
interface.  The replacement, `installablePowerups`, which is what
the users of this interface actually use, was never added to the
interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from xmantissa import ixmantissa, offering
18
18
 
19
 
from xmantissa.web import SiteConfiguration
20
19
from xmantissa.plugins.baseoff import baseOffering
21
20
from xmantissa.plugins.offerings import peopleOffering
22
21
 
335
334
    Tests for the base Mantissa offering,
336
335
    L{xmantissa.plugins.baseoff.baseOffering}.
337
336
    """
 
337
    def test_interface(self):
 
338
        """
 
339
        C{baseOffering} provides L{IOffering}.
 
340
        """
 
341
        self.assertTrue(verifyObject(ixmantissa.IOffering, baseOffering))
 
342
 
 
343
 
338
344
    def test_staticContentPath(self):
339
345
        """
340
346
        C{baseOffering.staticContentPath} gives the location of a directory