mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Remove legacy test alias migration script. (#19629)
* Require code-smell tests to be files. * Add sanity check for integration test aliases. * Remove migration script for test aliases.
This commit is contained in:
parent
241ad8cac3
commit
422857166b
4 changed files with 81 additions and 142 deletions
|
@ -632,7 +632,10 @@ def command_sanity_code_smell(args, _):
|
|||
skip_tests = skip_fd.read().splitlines()
|
||||
|
||||
tests = glob.glob('test/sanity/code-smell/*')
|
||||
tests = sorted(p for p in tests if os.access(p, os.X_OK) and os.path.basename(p) not in skip_tests)
|
||||
tests = sorted(p for p in tests
|
||||
if os.access(p, os.X_OK)
|
||||
and os.path.isfile(p)
|
||||
and os.path.basename(p) not in skip_tests)
|
||||
|
||||
for test in tests:
|
||||
display.info('Code smell check using %s' % os.path.basename(test))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue