mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update module test code to avoid pycs (that are not used)
This commit is contained in:
parent
25cc79e2db
commit
f35ed8a6c0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class TestModules(unittest.TestCase):
|
|||
for (dirpath, dirnames, filenames) in os.walk(path):
|
||||
for filename in filenames:
|
||||
(path, ext) = os.path.splitext(filename)
|
||||
if ext != ".ps1":
|
||||
if ext == ".py":
|
||||
module_list.append(os.path.join(dirpath, filename))
|
||||
return module_list
|
||||
|
||||
|
|
Loading…
Reference in a new issue