Home | Trees | Index | Help |
|
---|
Package testoob :: Module testing |
|
Exceptions | |
---|---|
TestoobAssertionError |
Function Summary | |
---|---|
works like unittest.TestCase.assertEquals | |
fail unless regex matches actual (using re.search) | |
Assert that a callable raises an exception, similar to unittest.py's assertRaises. | |
assert_true(condition,
msg)
| |
| |
Skip this test |
Function Details |
---|
assert_equals(expected, actual, msg=None, filter=None)works like unittest.TestCase.assertEquals |
assert_matches(regex, actual, msg=None, filter=None)fail unless regex matches actual (using re.search) |
assert_raises(exception_class, callable, *args, **kwargs)Assert that a callable raises an exception, similar to unittest.py's assertRaises. Takes more ideas and code from recipe http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307970 |
command_line(args, input=None, expected_output=None, expected_error=None, expected_output_regex=None, expected_error_regex=None, expected_rc=None, rc_predicate=None, skip_check=None)
|
skip(reason='No reason given')Skip this test |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 3 15:27:57 2006 | http://epydoc.sf.net |