def setUp(self): self.data = read_flat('c32.txt') self.data = self.data.upper() # Presenter Header record = Record(c32.FILE_HEADER_RECORD) record.record_code = '02' record.data_code = '65' record.file_date = datetime.datetime(2011, 07, 04) record.number = '1280' record.bank_code = '2959' record.bank_office = '0912' self.file_header = record
def setUp(self): self.data = read_flat("c32.txt") self.data = self.data.upper() # Presenter Header record = Record(c32.FILE_HEADER_RECORD) record.record_code = "02" record.data_code = "65" record.file_date = datetime.datetime(2011, 0o7, 0o4) record.number = "1280" record.bank_code = "2959" record.bank_office = "0912" self.file_header = record
def setUp(self): self.data = read_flat('c19.txt') self.data = self.data.upper() # Presenter Header record = Record(c19.PRESENTER_HEADER_RECORD) record.record_code = '51' record.data_code = '80' record.nif = 'B65247983' record.suffix = '701' record.creation_date = datetime.datetime(2012, 2, 24) record.name = 'NAN PROJECTES DE PROGRAMARI LLIURE, S.L.' record.bank_code = '2059' record.bank_office = '0060' self.presenter_header = record
def setUp(self): self.data = read_flat("c58.txt") self.data = self.data.upper() # Presenter Header record = Record(c58.PRESENTER_HEADER_RECORD) record.record_code = "51" record.data_code = "70" record.nif = "B65247983" record.suffix = "000" record.creation_date = datetime.datetime(2012, 2, 24) record.name = "NAN PROJECTES DE PROGRAMARI LLIURE, S.L." record.bank_code = "0075" record.bank_office = "1454" self.presenter_header = record