| |
42 |
or, suite base class has a testProxy property, which if not None is called to
|
| |
43 |
proxy the test
|
| |
44 |
|
| |
45 |
*
|
| |
46 |
module isolation plugin will break under depth-first loading. how to restore
|
| |
47 |
it:
|
| |
48 |
|
| |
49 |
preImport hook
|
| |
50 |
- snapshot sys.modules: this is what to restore AFTER processing of the
|
| |
51 |
test module is complete
|
| |
52 |
postImport hook
|
| |
53 |
- snapshot sys.modules: this is what to restore BEFORE running module tests
|
| |
54 |
startTest
|
| |
55 |
- if isa module, restore postImport sys.modules snapshot
|
| |
56 |
stopTest
|
| |
57 |
- if isa module, restore preImport sys.modules snapshot
|
| |
58 |
|