Table of Contents

Class: FunctionChecker ./src/peak/ddt/processors.py

Verify return values from a function called with keyword arguments

Column names specify either the names of keyword arguments, except for the last column, whose contents are always the expected return value. The only required constructor keyword for FunctionChecker is testFunction, which must be the callable whose return value is being checked.

Base Classes   
ModelChecker
Methods   
getMapper
invokeFunction
setupHandlers
  getMapper 
getMapper ( self,  name )

Map column names to dictionary keys (keyword args)

  invokeFunction 
invokeFunction ( self,  cell )

Invoke the function and verify the result

  setupHandlers 
setupHandlers (
        self,
        row,
        rows,
        )

Set up handlers, always treating the last column as the output


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:05 2024 by HappyDoc version 2.1