| Conditions | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 13 | def setup(self): |
||
| 14 | """Initialize each test.""" |
||
| 15 | from apexpy import helpers |
||
| 16 | |||
| 17 | # Get the original file |
||
| 18 | self.orig_file = glob(os.path.join(os.path.dirname( |
||
| 19 | sys.modules['apexpy.helpers'].__file__), 'fortranapex.*'))[0] |
||
| 20 | del sys.modules['apexpy.helpers'] |
||
| 21 | |||
| 22 | # Move the original file |
||
| 23 | self.temp_file = "temp_lib" |
||
| 24 | os.rename(self.orig_file, self.temp_file) |
||
| 25 | return |
||
| 26 | |||
| 48 |