(File)
| 52 | return False |
| 53 | |
| 54 | def LoadTestsFile(File): |
| 55 | Dict = {} |
| 56 | if not os.path.exists(File): |
| 57 | return Dict |
| 58 | |
| 59 | with open(File) as dtf: |
| 60 | for line in dtf: |
| 61 | test = line.split("#")[0].strip() # remove comments and empty spaces |
| 62 | if len(test) > 0: |
| 63 | Dict[test] = 1 |
| 64 | |
| 65 | return Dict |
| 66 | |
| 67 | def LoadTestsFileResults(File): |
| 68 | Dict = {} |