Package flumotion :: Package common :: Module testsuite
[hide private]

Module testsuite

source code

testsuite base classes and helpers for diffing strings


Version: $Rev$

Classes [hide private]
_getConfig
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list.
TestCase
TestClient
TestAdmin
TestWorker
TestManagerRoot
TestManager
TestPB
I combine a manager and a client to test passing back and forth objects.
TestCaseWithManager
Functions [hide private]
 
attr(*args, **kwargs)
Decorator that adds attributes to objects.
source code
 
_diff(old, new, desc) source code
 
diffStrings(orig, new, desc='input') source code
Function Details [hide private]

attr(*args, **kwargs)

source code 

Decorator that adds attributes to objects.

It can be used to set the 'slow', 'skip', or 'todo' flags in test cases.