diff --git a/tests/unit/test_4_one_day.py b/tests/unit/test_4_one_day.py index ebc2706..a467062 100644 --- a/tests/unit/test_4_one_day.py +++ b/tests/unit/test_4_one_day.py @@ -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) @@ -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 \ No newline at end of file