def test_running_record_delete(self): """Test case for running_record_delete Delete an existing running record. """ body = DeleteAccount() response = self.client.open('/running_record', method='DELETE', data=json.dumps(body), content_type='application/json') self.assert200(response, 'Response body is : ' + response.data.decode('utf-8'))
def test_online_info_delete(self): """Test case for online_info_delete Delete existing online info. """ body = DeleteAccount() response = self.client.open('/online_info', method='DELETE', data=json.dumps(body), content_type='application/json') self.assert200(response, 'Response body is : ' + response.data.decode('utf-8'))