From 7af4b058813cb68c2151875f6d1f29d456993cc7 Mon Sep 17 00:00:00 2001 From: Reshetnikov_AS Date: Sat, 2 Mar 2024 02:53:03 +0400 Subject: [PATCH] tearDown --- _AutoinstallCreator/test_update.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_AutoinstallCreator/test_update.py b/_AutoinstallCreator/test_update.py index 0b84338d..43c2c8a6 100644 --- a/_AutoinstallCreator/test_update.py +++ b/_AutoinstallCreator/test_update.py @@ -108,3 +108,12 @@ def test_update_to_new_version(self): timeout=10, retry_timeout=0.5, exception=OSError)) + + def tearDown(self): + if os.path.isfile(self.old_update_log_filepath): + print(f'''old_update_log_filepath: +{io_tools.read_text(self.old_update_log_filepath)}''') + + if os.path.isfile(self.update_log_filepath): + print(f'''old_update_log_filepath: +{io_tools.read_text(self.update_log_filepath)}''')