proper test for merge fix for organization_id setting

This commit is contained in:
2026-05-13 15:38:42 -04:00
parent c7372891d8
commit 40e08cbf09
10 changed files with 1105 additions and 12 deletions

16
fix_quotes.py Normal file
View File

@ -0,0 +1,16 @@
import json
with open("fixtures/merger.json", "r") as f:
text = f.read()
# Fix the broken formatting
text = text.replace("'{',\n \" {timestamp}\",\n \" }'", "'{{timestamp}}'")
text = text.replace("'{',\n \" {uuid}\",\n \" }'", "'{{uuid}}'")
text = text.replace("'{',\n \" {uuid:person_id}\",\n \" }'", "'{{uuid:person_id}}'")
text = text.replace("'{',\n \" {uuid:order_id}\",\n \" }'", "'{{uuid:order_id}}'")
text = text.replace("'{',\n \" {uuid:line1_id}\",\n \" }'", "'{{uuid:line1_id}}'")
text = text.replace("'{',\n \" {uuid:line2_id}\",\n \" }'", "'{{uuid:line2_id}}'")
with open("fixtures/merger.json", "w") as f:
f.write(text)