fix: file_handler issue

This commit is contained in:
Eduardo Chiarotti
2024-07-04 08:19:30 -03:00
parent 4bcd1df6bb
commit 2b22e5ecd3
3 changed files with 11 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ class TestPickleHandler(unittest.TestCase):
os.remove(self.file_path)
def test_initialize_file(self):
assert os.path.exists(self.file_path) is False
self.handler.initialize_file()
assert os.path.exists(self.file_path) is True
assert os.path.getsize(self.file_path) >= 0