parent
bbba99d545
commit
32aa948dd0
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ class TestModules(unittest.TestCase):
|
|||
for path in paths:
|
||||
for (dirpath, dirnames, filenames) in os.walk(path):
|
||||
for filename in filenames:
|
||||
module_list.append(os.path.join(dirpath, filename))
|
||||
(path, ext) = os.path.splitext(filename)
|
||||
if ext != ".ps1":
|
||||
module_list.append(os.path.join(dirpath, filename))
|
||||
return module_list
|
||||
|
||||
def test_ast_parse(self):
|
||||
|
|
Loading…
Reference in a new issue