From 1f5cb90f4e70cfcd2cce1fec20d0b7f938d12947 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Sat, 1 Feb 2020 13:26:56 +0100 Subject: [PATCH] unit test print file dependant of global var --- test/OBSW_UnitTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/OBSW_UnitTest.py b/test/OBSW_UnitTest.py index 698fa3f..1968544 100644 --- a/test/OBSW_UnitTest.py +++ b/test/OBSW_UnitTest.py @@ -53,7 +53,7 @@ class TestService(unittest.TestCase): cls.waitTime = 5.0 cls.testQueue = queue.Queue() cls.tcTimeoutFactor = g.tcSendTimeoutFactor - cls.printFile = True + cls.printFile = g.printToFile cls.tmtcPrinter = TmtcPrinter(cls.displayMode, cls.printFile, True) if g.comIF == 0: cls.communicationInterface = EthernetComIF(cls.tmtcPrinter, g.tmTimeout, g.tcSendTimeoutFactor, -- GitLab