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

Mocking a web service for the International Space Station #18

Open
dpshelio opened this issue Oct 28, 2024 · 0 comments
Open

Mocking a web service for the International Space Station #18

dpshelio opened this issue Oct 28, 2024 · 0 comments
Labels
homework Exercises to do after/before class week05 Testing your code

Comments

@dpshelio
Copy link
Contributor

dpshelio commented Oct 28, 2024

There's a web service that gives you the times of when the ISS is visible from your location

  • Using this web service, write a function named iss_passes in times.py that generates a similar output than time_range.

  • Write a test for the iss_passes function that mocks the request call and the response to avoid querying the website all the time we run the tests.

  • Commit, push and link to this issue.

Once you have a solution, commit it including Answers UCL-COMP0233-24-25/RSE-Classwork#18 in the message and push it to your fork on GitHub.


@dpshelio dpshelio added homework Exercises to do after/before class week05 Testing your code labels Oct 28, 2024
Songzx07 added a commit to Songzx07/time-tests that referenced this issue Oct 28, 2024
Songzx07 added a commit to Songzx07/time-tests that referenced this issue Oct 28, 2024
am1520x pushed a commit to am1520x/time-tests that referenced this issue Oct 30, 2024
Using mock testing to test the new API calling function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
homework Exercises to do after/before class week05 Testing your code
Projects
None yet
Development

No branches or pull requests

1 participant