Skip to content

[SYNPY-1826] fix integration test: test_download_list_manifest_with_custom_csv_descriptor#1372

Draft
linglp wants to merge 3 commits intoSYNPY-1824from
SYNPY-1826
Draft

[SYNPY-1826] fix integration test: test_download_list_manifest_with_custom_csv_descriptor#1372
linglp wants to merge 3 commits intoSYNPY-1824from
SYNPY-1826

Conversation

@linglp
Copy link
Copy Markdown
Contributor

@linglp linglp commented Apr 27, 2026

Problem:

Integration test failure

Solution:

  • Since workers are working concurrently, other tests could add items to the cart. Code that tests the first line of the downloaded manifest can be pretty fragile. Changed it to search for the whole manifest instead of just the first line

assert "\t" in content, "Expected tab separators in manifest"

# AND the escape character was used for the embedded quote in the file name
assert "/'" in content, (
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After thinking about this more, this maybe a server side error. If Per the Synapse docs, escapeCharacter is "for escaping a separator or quote". So the spec says it should produce:'it/'s_test.csv' when the file name is: 'it's_test.csv'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant