Beispiel #1
0
 def test_readby_interface(self):
     self.failUnless(IReadByProvider.providedBy(self.obj))
Beispiel #2
0
 def is_markable(self, obj=None, path=None, uid=None):
     """ returns ttrue iff an obj is markable as read/unread
     """
     if not obj:
         obj = self._getObject(path=path, uid=uid)
     return IReadByProvider.providedBy(obj)