Opened 21 months ago

Last modified 21 months ago

#6555 enhancement new

The way to test the class implement interfaces should be documented.

Reported by: tom.prince Owned by:
Priority: normal Milestone:
Component: core Keywords: documentation policy
Cc: Branch:
Author: Launchpad Bug:

Description (last modified by exarkun)

from zope.interface.verify import verifyClass
self.assertTrue(verifyClass(ISomething, SomethingImplementation))


from zope.interface.verify import verifyObject
self.assertTrue(verifyObject(ISomething, SomethingImplementation()))

Change History (1)

comment:1 Changed 21 months ago by exarkun

  • Description modified (diff)
Note: See TracTickets for help on using tickets.