[CentralOH] Most "Pythonic" way to accomplish this?

Joshua Kramer joskra42.list at gmail.com
Tue Feb 5 12:13:49 EST 2019


Thanks Zak!  I should clarify that with this particular question, I am
not writing tests for code.  For failures, Pytest gives a lot of
information about the code, which would not apply in my case.  For
example, I might want to run some hardware tests.  The runTest method
in myTest1 object might run a function called "isMotorTooHot()", and
if that returns true, then the next test in the list would run
"isCoolingValveOpen()", etc.  So perhaps we should think of these as
"tasks" instead of "tests".


More information about the CentralOH mailing list