Skip to content
Snippets Groups Projects
Commit 4bc902a2 authored by Robin Mueller's avatar Robin Mueller
Browse files

some more comments

parent e0c32391
No related branches found
No related tags found
No related merge requests found
......@@ -80,13 +80,14 @@ class TestService(unittest.TestCase):
# This function should be called in each individual test to send the actual telecommands
# which are stored inside testQueue
def performTestingAndGenerateAssertionDict(self):
# Maybe we should instantiate this once in the main and then reuse it instead of calling the constructor
# over and over again.
UnitTester = MultipleCommandSenderReceiver(
comInterface=self.communicationInterface, tmtcPrinter=self.tmtcPrinter, tmListener=self.tmListener,
tcQueue=self.testQueue, tmTimeout=self.tmTimeout, waitIntervals=self.waitIntervals, waitTime=self.waitTime,
printTm=self.printTm, tcTimeoutFactor=self.tcTimeoutFactor, doPrintToFile=self.printFile)
(tcInfoQueue, tmInfoQueue) = UnitTester.sendTcQueueAndReturnInfo()
assertionDict = self.analyseTmTcInfo(tmInfoQueue, tcInfoQueue)
# UnitTester.clearListenerTmInfoQueue()
return assertionDict
def analyseTmTcInfo(self, tmInfoQueue: pusTmInfoQueueT, tcInfoQueue: pusTcInfoQueueT) -> dict:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment