From f17fc401c4e5a462d18209822b3c9e253ec7ec11 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Sun, 25 Jun 2023 16:51:03 -0500 Subject: added import boolean test --- test_import_variable.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test_import_variable.py') diff --git a/test_import_variable.py b/test_import_variable.py index d6fd683..69a3663 100644 --- a/test_import_variable.py +++ b/test_import_variable.py @@ -30,6 +30,12 @@ class TestImportVariable(unittest.TestCase): self.assertEqual(int_1, 3) self.assertEqual(int_2, 155) + def test_import_boolean(self): + chk_1 = self.src_fil_r.import_variable('chk_1') + chk_2 = self.src_fil_r.import_variable('chk_2') + self.assertEqual(chk_1, True) + self.assertEqual(chk_2, False) + if __name__ == '__main__': unittest.main() -- cgit v1.2.3