Commits
41 41 | |
42 42 | # Location of input data |
43 43 | datapath = ctsys.resolve('unittest/simulator/') |
44 44 | refpath = ctsys.resolve('unittest/simulator/smtool_reference/') |
45 45 | |
46 46 | class sm_settrop_test(unittest.TestCase): |
47 47 | """ |
48 48 | """ |
49 49 | |
50 50 | def setUp(self): |
51 - | self.vis_file = 'settrop_split_ant_spw.ms' |
52 - | self.vis_copy = 'settrop_split_ant_spw_copy.ms' |
53 - | self.res_table = 'settrop_table' |
51 + | self.vis_file = 'settrop_split_ant_spw.ms' |
52 + | self.vis_copy = 'settrop_split_ant_spw_copy.ms' |
53 + | self.res_table = 'settrop_table' |
54 54 | if os.path.exists(self.vis_copy): |
55 55 | shutil.rmtree(self.vis_copy) |
56 56 | shutil.copytree(os.path.join(datapath,self.vis_file), self.vis_copy) |
57 57 | |
58 58 | def tearDown(self): |
59 59 | if os.path.exists(self.vis_copy): |
60 60 | shutil.rmtree(self.vis_copy) |
61 61 | if os.path.exists(self.res_table): |
62 62 | shutil.rmtree(self.res_table) |
63 63 | |