mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-05-11 20:12:14 +00:00
Remove unused test utility files
These files are dead code - none of them are imported or used anywhere in the test suite or the collection: - tests/unit/compat/builtins.py - tests/unit/mock/loader.py - tests/unit/mock/path.py - tests/unit/mock/procenv.py - tests/unit/mock/vault_helper.py - tests/unit/mock/yaml_helper.py - tests/unit/modules/conftest.py - tests/unit/modules/utils.py Removing these files also addresses Python 2.7 compatibility concerns raised in code review, as several contained deprecated imports that would be incorrect to fix for Python 2. Also removes corresponding pylint:ansible-bad-import-from entries from tests/sanity/ignore-2.21.txt. Related to #686 Co-authored-by: Cursor AI Signed-off-by: Pavel Bar <pbar@redhat.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
tests/unit/mock/procenv.py pylint:ansible-bad-import-from
|
||||
tests/unit/mock/yaml_helper.py pylint:ansible-bad-import-from
|
||||
tests/unit/modules/conftest.py pylint:ansible-bad-import-from
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
tests/unit/mock/procenv.py pylint:ansible-bad-import-from
|
||||
tests/unit/mock/yaml_helper.py pylint:ansible-bad-import-from
|
||||
tests/unit/modules/conftest.py pylint:ansible-bad-import-from
|
||||
|
||||
Reference in New Issue
Block a user