From f1c55774e35ec5b4224f866dc178032376c53d37 Mon Sep 17 00:00:00 2001 From: Hanne Heggdal Date: Tue, 22 Apr 2025 11:48:40 +0200 Subject: [PATCH] change comments --- tests/unit/test_4_one_day.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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