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
def setUp(self): self.data = read_flat('c43.txt') self.data = self.data.upper() # Account Header record = Record(c43.ACCOUNT_HEADER_RECORD) record.record_code = '11' record.bank_code = '2059' record.bank_office = '0060' record.account_number = '8000314221' record.start_date = datetime.datetime(2011, 11, 11) record.end_date = datetime.datetime(2011, 11, 20) record.initial_balance = Decimal('52530.44') record.currency_code = '978' record.information_mode = '2' record.customer_name = '' self.account_header = record
def setUp(self): self.data = read_flat("c43.txt") self.data = self.data.upper() # Account Header record = Record(c43.ACCOUNT_HEADER_RECORD) record.record_code = "11" record.bank_code = "2059" record.bank_office = "0060" record.account_number = "8000314221" record.start_date = datetime.datetime(2011, 11, 11) record.end_date = datetime.datetime(2011, 11, 20) record.initial_balance = Decimal("52530.44") record.currency_code = "978" record.information_mode = "2" record.customer_name = "" self.account_header = record