()
| 41 | |
| 42 | |
| 43 | def setUpModule(): |
| 44 | global g_root |
| 45 | global g_files |
| 46 | global g_tmpdir |
| 47 | |
| 48 | g_tmpdir = tempfile.TemporaryDirectory() |
| 49 | g_root = g_tmpdir.__enter__() |
| 50 | g_files = [str(i) + " x.dat" for i in range(10)] # name with a space in the middle! |
| 51 | populate(g_root, g_files) |
| 52 | |
| 53 | |
| 54 | def tearDownModule(): |