parent
48dbb79fbe
commit
22ae21ab43
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ class TestModules(unittest.TestCase):
|
||||||
for path in paths:
|
for path in paths:
|
||||||
for (dirpath, dirnames, filenames) in os.walk(path):
|
for (dirpath, dirnames, filenames) in os.walk(path):
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
|
(path, ext) = os.path.splitext(filename)
|
||||||
|
if ext != ".ps1":
|
||||||
module_list.append(os.path.join(dirpath, filename))
|
module_list.append(os.path.join(dirpath, filename))
|
||||||
return module_list
|
return module_list
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue