aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTinWoodman92 <chrhodgden@gmail.com>2023-08-22 17:17:32 -0500
committerTinWoodman92 <chrhodgden@gmail.com>2023-08-22 17:17:32 -0500
commitdd36ae643a28bc2cc9efce5a373c566354505dae (patch)
tree299c972c7162f93236086ea4b615b481a383f461
parente60c8bd3f722dfb7d51d67413ddcd423f14a8c0c (diff)
focus testshandle_vectors
-rw-r--r--run_tests.py2
-rw-r--r--tests/test_import_variable.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/run_tests.py b/run_tests.py
index 542c6d5..438edcf 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -3,7 +3,7 @@ import unittest
if __name__ == "__main__":
loader = unittest.TestLoader()
# suite = loader.discover("tests", pattern="test_*.py")
- suite = loader.loadTestsFromName("tests.test_save_environment.TestSaveEnvironment.test_save_environment")
+ suite = loader.loadTestsFromName("tests.test_import_variable.TestImportVariable.test_import_integer")
# suite = loader.loadTestsFromName("tests.test_assign_variable.TestAssignVariable.test_assign_integer")
runner = unittest.TextTestRunner()
result = runner.run(suite)
diff --git a/tests/test_import_variable.py b/tests/test_import_variable.py
index c8ac5ed..035f0bb 100644
--- a/tests/test_import_variable.py
+++ b/tests/test_import_variable.py
@@ -27,10 +27,8 @@ class TestImportVariable(unittest.TestCase):
self.assertEqual(msg_2, 'Initialized Client - R')
def test_import_integer(self):
- int_1 = self.src_fil_r.import_variable('int_1')
- int_2 = self.src_fil_r.import_variable('int_2')
+ int_1 = self.src_fil_r.import_variable('int_1')[0]
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')