Package Peach :: Package Engine :: Module common
[hide private]

Module common

source code

Common functions and classes.


Author: Michael Eddington

Version: $Id$

Classes [hide private]
  Holder
Holds static stuff
  SoftException
Soft exceptions should end the current test iteration, but not the run.
  HardException
Hard exceptions are non-recoverable and should end the fuzzing run.
  RedoTestException
Indicate we should re-run the current test.
  PeachException
Peach exceptions are specialized hard exceptions.
  _Getch
Gets a single character from standard input.
  _GetchUnix
  _GetchWindows
Functions [hide private]
 
peachEval(code, environment=False)
Eval using the Peach namespace stuffs
source code
 
evalEvent(code, environment)
Eval python code returning result.
source code
Variables [hide private]
  getch = _Getch()
Function Details [hide private]

evalEvent(code, environment)

source code 

Eval python code returning result.

code - String environment - Dictionary, keys are variables to place in local scope