From e093a134770dc984342b2e6bd6a8d682c3033aea Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 21 Nov 2023 18:14:19 +0100 Subject: [PATCH] fix unittest --- tests/test_inkycal_textfile_to_display.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_inkycal_textfile_to_display.py b/tests/test_inkycal_textfile_to_display.py index 557b4d3..ac5e2b6 100644 --- a/tests/test_inkycal_textfile_to_display.py +++ b/tests/test_inkycal_textfile_to_display.py @@ -89,6 +89,7 @@ class TestTextToDisplay(unittest.TestCase): def setUp(self): self.temp_path = temp_path if not os.path.exists(Config.TEMP_PATH): + os.mkdir(Config.TEMP_PATH) logger.info("could not find temporary file, creating now.") with open(self.temp_path, encoding="utf-8", mode="w") as file: file.writelines(dummy_data)