Module Expr Str Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Expr Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad Expr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults kwarg NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults vararg NameLoad Expr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults vararg kwarg NameLoad Expr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults vararg NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad Expr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam NameParam defaults NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults vararg NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults kwarg NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call NameLoad Str decorator_list ClassDef bases body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args defaults body Pass decorator_list decorator_list ClassDef bases body Expr Call NameLoad NameLoad Assign NameStore Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad
N/A N/A Interface Verify tests

$Id: test_verify.py 110536 2010-04-06 02:59:44Z tseaver $
 N/A doctest N/A unittest zope.interface Interface implements classImplements Attribute zope.interface.verify verifyClass verifyObject zope.interface.exceptions DoesNotImplement BrokenImplementation zope.interface.exceptions BrokenMethodImplementation Test N/A N/A unittest TestCase N/A testNotImplemented N/A N/A self N/A N/A C N/A object N/A N/A N/A I N/A Interface N/A N/A N/A N/A N/A N/A self assertRaises DoesNotImplement verifyClass I C N/A N/A classImplements C I N/A N/A verifyClass I C N/A testMissingAttr N/A N/A self N/A N/A I N/A Interface N/A f N/A N/A N/A N/A N/A N/A N/A C N/A object N/A N/A N/A implements I N/A N/A N/A N/A self assertRaises BrokenImplementation verifyClass I C N/A N/A C f N/A N/A N/A self N/A None N/A N/A verifyClass I C N/A testMissingAttr_with_Extended_Interface N/A N/A self N/A N/A II N/A Interface N/A f N/A N/A N/A N/A N/A N/A N/A I N/A II N/A N/A N/A C N/A object N/A N/A N/A implements I N/A N/A N/A N/A self assertRaises BrokenImplementation verifyClass I C N/A N/A C f N/A N/A N/A self N/A None N/A N/A verifyClass I C N/A testWrongArgs N/A N/A self N/A N/A I N/A Interface N/A f N/A N/A a N/A N/A N/A N/A N/A C N/A object N/A f N/A N/A self b N/A N/A N/A N/A N/A N/A implements I N/A N/A N/A C f N/A N/A N/A self a N/A None N/A N/A verifyClass I C N/A N/A C f N/A N/A N/A self N/A kw None N/A N/A N/A self assertRaises BrokenMethodImplementation verifyClass I C N/A N/A C f N/A N/A N/A self a N/A args None N/A N/A verifyClass I C N/A N/A C f N/A N/A N/A self a N/A args kw None N/A N/A verifyClass I C N/A N/A C f N/A N/A N/A self N/A args None N/A N/A verifyClass I C N/A testExtraArgs N/A N/A self N/A N/A I N/A Interface N/A f N/A N/A a N/A N/A N/A N/A N/A C N/A object N/A f N/A N/A self a b N/A N/A N/A N/A N/A N/A implements I N/A N/A N/A N/A self assertRaises BrokenMethodImplementation verifyClass I C N/A N/A C f N/A N/A N/A self a N/A None N/A N/A verifyClass I C N/A N/A C f N/A N/A N/A self a b N/A None None N/A N/A verifyClass I C N/A testNoVar N/A N/A self N/A N/A I N/A Interface N/A f N/A N/A a N/A args N/A N/A N/A N/A C N/A object N/A f N/A N/A self a N/A N/A N/A N/A N/A N/A implements I N/A N/A N/A N/A self assertRaises BrokenMethodImplementation verifyClass I C N/A N/A C f N/A N/A N/A self a N/A foo None N/A N/A verifyClass I C N/A testNoKW N/A N/A self N/A N/A I N/A Interface N/A f N/A N/A a N/A args N/A N/A N/A N/A C N/A object N/A f N/A N/A self a N/A N/A N/A N/A N/A N/A implements I N/A N/A N/A N/A self assertRaises BrokenMethodImplementation verifyClass I C N/A N/A C f N/A N/A N/A self a N/A foo None N/A N/A verifyClass I C N/A testModule N/A N/A self N/A N/A zope.interface.tests.ifoo IFoo zope.interface.tests dummy N/A N/A verifyObject IFoo dummy N/A testMethodForAttr N/A N/A self N/A N/A IFoo N/A Interface N/A N/A foo N/A Attribute The foo Attribute N/A Foo N/A N/A N/A N/A implements IFoo foo N/A N/A self N/A N/A N/A N/A N/A N/A N/A verifyClass IFoo Foo N/A testNonMethodForMethod N/A N/A self N/A N/A IBar N/A Interface N/A foo N/A N/A N/A N/A N/A N/A N/A Bar N/A N/A N/A N/A implements IBar N/A foo 1 N/A N/A N/A N/A self assertRaises BrokenMethodImplementation verifyClass IBar Bar N/A N/A test_suite N/A N/A N/A N/A N/A loader N/A N/A unittest TestLoader N/A N/A N/A unittest TestSuite N/A N/A N/A doctest DocFileSuite ../verify.txt optionflags N/A doctest NORMALIZE_WHITESPACE N/A N/A loader loadTestsFromTestCase Test N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A N/A unittest TextTestRunner run N/A test_suite