Commit 4f6ca52f authored by Giuseppe Tropea's avatar Giuseppe Tropea
Browse files

logging out when "then" or "when" are missing

parent 0f1d9a9a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -131,6 +131,10 @@ if __name__ == "__main__":
            for permutation_body in testcase["test_cases"]:
                if "permutation_tp_id" in permutation_body:
                    ptpid =  permutation_body["permutation_tp_id"]
                    if "then" not in permutation_body:
                        print(" no then in " + ptpid)
                    if "when" not in permutation_body:
                        print(" no when in " + ptpid)
                    #print("::: "+ptpid)
                    # strip from beginning up to including the last "/"
                    permutation_body["stripped_permutation_tp_id"] = ptpid[ptpid.rindex("/")+1:]