From 121e282a13b4108afb9b3ca98f5dbdd46e0f8732 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Sun, 25 Jun 2023 19:45:56 -0500 Subject: open and close dialogue for test class. --- test_import_variable.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test_import_variable.py b/test_import_variable.py index 69a3663..f8e62e1 100644 --- a/test_import_variable.py +++ b/test_import_variable.py @@ -6,17 +6,17 @@ class TestImportVariable(unittest.TestCase): @classmethod def setUpClass(cls): - pass + cls.src_fil_r = dialoguer.Dialogue('test_import_variable.r') @classmethod def tearDownClass(cls): - pass + cls.src_fil_r.close() def setUp(self): - self.src_fil_r = dialoguer.Dialogue('test_import_variable.r') - + pass + def tearDown(self): - self.src_fil_r.close() + pass def test_import_string(self): msg_1 = self.src_fil_r.import_variable('msg_1') -- cgit v1.2.3