Setup testenvironment for the module: - Adds dummy home dir tree
()
| 20 | IP_TEST_DIR = os.path.join(HOME_TEST_DIR,'.ipython') |
| 21 | |
| 22 | def setup_module(): |
| 23 | """Setup testenvironment for the module: |
| 24 | |
| 25 | - Adds dummy home dir tree |
| 26 | """ |
| 27 | # Do not mask exceptions here. In particular, catching WindowsError is a |
| 28 | # problem because that exception is only defined on Windows... |
| 29 | os.makedirs(IP_TEST_DIR) |
| 30 | os.makedirs(os.path.join(XDG_TEST_DIR, 'ipython')) |
| 31 | os.makedirs(os.path.join(XDG_CACHE_DIR, 'ipython')) |
| 32 | |
| 33 | |
| 34 | def teardown_module(): |
nothing calls this directly
no outgoing calls
no test coverage detected