Skip to content

Commit

Permalink
added sample for integration tests for the latest launches endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Afarhat19 committed Jun 12, 2024
1 parent 29a4580 commit 304f2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_latest_launch(self):
response = requests.get(url)
self.assertEqual(response.status_code, 200)
data = response.json()
#checks to make sure that there is a response of a name, date, and a rocket that is used in the launch.
#checks to make sure that there is a response of a name, date, and a rocket that is used in the launch
self.assertIn("name", data)
self.assertIn("date_utc", data)
self.assertIn("rocket", data)
Expand Down

0 comments on commit 304f2a9

Please sign in to comment.