Opened 9 years ago

Last modified 9 years 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:

Description (last modified by Jean-Paul Calderone)

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 9 years ago by Jean-Paul Calderone

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