forked from CMS/memberPlumbing
sqlExport: Remove name from transactions assertion
because apparently basic data consistency is too much to ask for
This commit is contained in:
parent
721000ce43
commit
44e560cd34
@ -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'])
|
||||
|
Loading…
Reference in New Issue
Block a user