| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
| MatchAcceptTest | |||
|
|||
|
getTestData() Read the test data off of disk |
|||
|
chunk(lines) Return groups of lines separated by whitespace or comments |
|||
|
parseLines(chunk) Take the given chunk of lines and turn it into a test data dictionary |
|||
|
parseAvailable(available_text) Parse an Available: line's data |
|||
|
parseExpected(expected_text) Parse an Expected: line's data |
|||
| loadTests() | |||
|
|||
runner = unittest.TextTestRunner()
|
|||
|
|||
Read the test data off of disk () -> [(int, str)] |
Return groups of lines separated by whitespace or comments [(int, str)] -> [[(int, str)]] |
Take the given chunk of lines and turn it into a test data dictionary {str:(int, str)} |
Parse an Available: line's data str -> [str] |
Parse an Expected: line's data str -> [(str, float)] |
|
|
|||
runner
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Dec 8 13:17:17 2006 | http://epydoc.sourceforge.net |