We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
iss_passes
times.py
time_range
https://api.n2yo.com/rest/v1/satellite/visualpasses/25544/56/0/0/5/50&apiKey={your API key}
datetime.datetime.fromtimestamp
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.
Answers UCL-COMP0233-24-25/RSE-Classwork#18
The text was updated successfully, but these errors were encountered:
Writing a mock test to the ISS satellite API, Answers UCL-COMP0233-24…
7c40fc1
…-25/RSE-Classwork#18
Test of mocking a web service for the ISS
e057e1a
Fix UTX time bug
48c3df6
build the mock the request call automatically Answers UCL-COMP0233-24…
77a5f5d
8ee35d1
Using mock testing to test the new API calling function.
No branches or pull requests
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
intimes.py
that generates a similar output thantime_range
.https://api.n2yo.com/rest/v1/satellite/visualpasses/25544/56/0/0/5/50&apiKey={your API key}
(Documentation)datetime.datetime.fromtimestamp
function.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.The text was updated successfully, but these errors were encountered: