(self, startup_file, startup, test)
| 94 | shutil.rmtree(self.pd.location) |
| 95 | |
| 96 | def init(self, startup_file, startup, test): |
| 97 | # write startup python file |
| 98 | with open(os.path.join(self.pd.startup_dir, startup_file), 'w') as f: |
| 99 | f.write(startup) |
| 100 | # write simple test file, to check that the startup file was run |
| 101 | with open(self.fname, 'w') as f: |
| 102 | f.write(test) |
| 103 | |
| 104 | def validate(self, output): |
| 105 | tt.ipexec_validate(self.fname, output, '', options=self.options) |
no test coverage detected