logalyzer.test.testbase.Runerator(object) class documentation
Part of logalyzer.test.testbase
(View In Hierarchy)
Iterates over an executable object to see if it worked and do something if it did before its output is cleaned up.
| Method | __init__ | Undocumented |
| Method | run | Undocumented |
| Method | fail | Undocumented |
| Method | beforeFile | No summary |
| Method | afterFile | No summary |
| Method | producesFileAndResult | No summary |
def
beforeFile(self, fileName):
Here is the use case:
for result in r.beforeFile('foo.pdf'):
<do something before checking for and deleting produced>
<file 'filePath'>
<file is now deleted>