WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
https://openverse.org
MIT License
254 stars 204 forks source link

Unit tests for `validate_images` #683

Open AetherUnbound opened 2 years ago

AetherUnbound commented 2 years ago

Description

Add unit tests for the validate_images function:

https://github.com/WordPress/openverse-api/blob/v2.5.10/api/catalog/api/utils/validate_images.py#L21

Additional context

Part of a series of unit test issues (see https://github.com/WordPress/openverse-api/issues/871 & https://github.com/WordPress/openverse/issues/682)

Implementation

Rajarshi1998 commented 2 years ago

I would like to contribute to fix this issue. Thank you!!

dhruvkb commented 2 years ago

@Rajarshi1998 sure, go ahead. I'm assigning this to you. If you need any help getting started, you can leave a comment here or send a message to the #openverse channel in the Making WordPress Slack workspace.