Opened 5 years ago

Last modified 5 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:
Author:

Description (last modified by Jean-Paul Calderone)

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

or

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

Change History (1)

comment:1 Changed 5 years ago by Jean-Paul Calderone

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