pycon-rwanda / Endangered-Species-Tracker

The "Endangered Species Tracker" is a Python project aimed at raising awareness and providing information about endangered species around the world.
MIT License
4 stars 10 forks source link

Add Tests for API Integration #6

Open kaybrian opened 1 month ago

kaybrian commented 1 month ago

Write unit tests for the API integration code to ensure that it correctly fetches and processes data.

nat236919 commented 1 month ago

@kaybrian I think I can help. My plan is to

However, I do have questions

kaybrian commented 1 month ago

Sure please go ahead.

About the Tracker. File. Looking at the fact that code has to be refracted to reflect all api calls from fetch_data. We can go ahead and move all the api calls to fetch data.

nat236919 commented 1 month ago

@kaybrian Thanks. Let's stick with unit tests first. Project directory refactor can be a separate ticket.

kaybrian commented 1 month ago

@kaybrian Thanks. Let's stick with unit tests first. Project directory refactor can be a separate ticket.

Sure that’s very fine. Please go ahead on that