sqlExport: Remove name from transactions assertion

because apparently basic data consistency is too much to ask for
This commit is contained in:
Adam Goldsmith 2020-02-29 11:07:08 -05:00
parent 721000ce43
commit 44e560cd34

View File

@ -117,7 +117,7 @@ try:
# this is terrible, but as long as the dates are the same, should be fiiiine
transactions = [{**j, **v}
for j, v in zip(transactions_csv, transactions_json)]
assert all([t['Name'] == t['nam'] and t['Account ID'] == t.get('uid', '')
assert all([t['Account ID'] == t.get('uid', '')
and t['Payment ID'] == t.get('sid', '')
for t in transactions])
insertFromTableMap('transactions', transactions, tableMapping['transactions'])