pcisim.core.modbuild
index
../../src/pcisim/core/modbuild.py

A module for unit testing in pcisim package.
 
Each test-able module should implement one of the following interfaces:
    _main(app) : a function with takes a wx.App parameter and returns
        a return value
 
    _build(parent) : a function or a wx.Window derived class which takes
        a wx.Window parent as a parameter and returns a wx.Window instance

 
Modules
       
importlib
wx

 
Functions
       
parse_args(argv)
Parse argv and call test_module function.
 
@RETURN
    Tested module return value
test_module(module)
Testes a module with exposed testing interface.
 
@PARAMS
    module : module to test
 
@RETURN
    Tested module return value

 
Data
        __all__ = ['parse_args', 'test_module']