(self, pattern, path)
| 7 | class unitOperatorsTest(unittest.TestCase): |
| 8 | |
| 9 | def find(self, pattern, path): |
| 10 | result = [] |
| 11 | for root, dirs, files in os.walk(path): |
| 12 | for name in files: |
| 13 | if fnmatch.fnmatch(name, pattern): |
| 14 | result.append(os.path.join(root, name)) |
| 15 | return result |
| 16 | |
| 17 | def test_readAllOnnxFiles(self): |
| 18 | # mute stdout |