예제 #1
0
파일: functions.py 프로젝트: VolBon/ubuntu
def check_tai_getExecutionDataFolder():
    txt = tai.getExecutionDataFolder()
    getUnittestObj().assertEqual(
        txt,
        os.path.join(tai.getExecutionLogFolder(), "Data"),
        "tai.getExecutionDataFolder() does not contain expect path",
    )
예제 #2
0
파일: functions.py 프로젝트: VolBon/ubuntu
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)