def tearDown(self): if not self.class_being_tested or not self.base_url: return enhydris_api.delete_model(self.base_url, self.cookies, 'Timeseries', self.timeseries_id2) enhydris_api.delete_model(self.base_url, self.cookies, 'Timeseries', self.timeseries_id1)
def tearDown(self): if not self.base_url: return enhydris_api.delete_model(self.base_url, self.cookies, 'Timeseries', self.timeseries_id)
def tearDown(self): for parm in self.parameters: if parm['ts_id']: enhydris_api.delete_model(self.base_url, self.cookies, 'Timeseries', parm['ts_id'])
def tearDown(self): parms = settings.BITIA_TEST_ENHYDRIS_INSTALLATION enhydris_api.delete_model(parms['base_url'], self.cookies, 'Station', self.station1_id) enhydris_api.delete_model(parms['base_url'], self.cookies, 'Station', self.station2_id)