def setUp(self): self.data = read_flat('c34.txt') self.data = self.data.upper() # Presenter Header record = Record(c34.ORDERING_HEADER_RECORD) record.record_code = '03' record.operation_code = '62' record.nif = 'B17616756' record.suffix = '000' record.data_number = '001' record.send_date = datetime.datetime(2012, 2, 24) record.creation_date = datetime.datetime(2012, 2, 24) record.account = '20594887510123456789' record.charge_detail = 'false' self.ordering_header = record
def setUp(self): self.data = read_flat("c34.txt") self.data = self.data.upper() # Presenter Header record = Record(c34.ORDERING_HEADER_RECORD) record.record_code = "03" record.operation_code = "62" record.nif = "B17616756" record.suffix = "000" record.data_number = "001" record.send_date = datetime.datetime(2012, 2, 24) record.creation_date = datetime.datetime(2012, 2, 24) record.account = "20594887510123456789" record.charge_detail = "false" self.ordering_header = record