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