Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
prettyirrelevant committed Dec 4, 2024
1 parent 2555002 commit 49cfaca
Show file tree
Hide file tree
Showing 2 changed files with 925 additions and 927 deletions.
2 changes: 1 addition & 1 deletion tests/test_correct_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_asset_collection_mappings(version, schema_versions):
upgrade = root_dir / 'updates' / str(version) / 'asset_collections_mappings_updates.sql'
# keep this re in sync with the one in the main repo
if version > 30:
pattern = '.*INSERT +INTO +multiasset_mappings\( *collection_id *, *asset *, *is_main_asset *\) *VALUES +\(([^,]*?), *"([^,]+?)" *, *([0-1])\).*?' # noqa: E501
pattern = '.*(?:INSERT OR REPLACE|INSERT OR IGNORE|INSERT) +INTO +multiasset_mappings\( *collection_id *, *asset *, *is_main_asset *\) *VALUES +\(([^,]*?), *"([^"]+?)" *, *([0-1])\).*?' # noqa: E501
expected_groups = 3
else:
pattern = r'.*INSERT +INTO +multiasset_mappings\( *collection_id *, *asset *\) *VALUES +\(([^,]*?), *"([^,]+?)"\).*?' # noqa: E501
Expand Down
Loading

0 comments on commit 49cfaca

Please sign in to comment.