Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add support to import CSV file with multiple image urls for one product on separate rows (Carrefour) + fix fake download of images for tests #9058

Merged
merged 6 commits into from
Sep 27, 2023

Conversation

stephanegigandet
Copy link
Contributor

This is needed for Carrefour that will send us CSV files with images urls (1 line per image, with several images per product).

Also added some tests and repaired the fake_download_image() mock used in the test which did not work (images were not downloaded and imported).

Added support for CSV files that use a ; as a separator (with very basic detection).

@stephanegigandet stephanegigandet requested a review from a team as a code owner September 22, 2023 15:26
@stephanegigandet stephanegigandet changed the title fix: add support to import CSV file with multiple image urls for one product on separate rows + fix fake download of images for tests fix: add support to import CSV file with multiple image urls for one product on separate rows (Carrefour) + fix fake download of images for tests Sep 22, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@raphael0202 raphael0202 merged commit b0280f6 into main Sep 27, 2023
15 checks passed
@raphael0202 raphael0202 deleted the csv-separator branch September 27, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants