def check_tai_getExecutionDataFolder(): txt = tai.getExecutionDataFolder() getUnittestObj().assertEqual( txt, os.path.join(tai.getExecutionLogFolder(), "Data"), "tai.getExecutionDataFolder() does not contain expect path", )
def check_tai_getExecutionLogFolder(): txt = tai.getExecutionLogFolder() endTxt = "taUnitTestCases\\tc3_various_tai_functions\\Runs\\".replace("\\", os.sep).replace("/", os.sep) ok = txt[: len(txt) - 17].endswith(endTxt) getUnittestObj().assertEqual(ok, True, "tai.getExecutionLogFolder() does not contain expect string '%s'" % endTxt)