Skip to content

Commit

Permalink
change comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hannhegg committed Apr 22, 2025
1 parent 2dc34ca commit f1c5577
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/test_4_one_day.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_fetch_data(self):
# Hent data fra API
data = fetch_time_data(start_date, end_date, city_name)

# Sjekk om dataene som ble hentet er riktige
# Test if data is collected correctly
if data:
self.assertIn("temperature", data)
self.assertIn("humidity", data)
Expand All @@ -29,6 +29,3 @@ def test_fetch_data(self):
if __name__ == "__main__":
unittest.main()


#this test is to test if the function write_data and fetch_data is working as we expect it to, tests if the data can writes to a file and read data back from the file and, and that the data read back is identical to the one written
#this test makes sure that data can be handled in a correct way

0 comments on commit f1c5577

Please sign in to comment.