We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef8db4 commit edc8146Copy full SHA for edc8146
test/test_main.py
@@ -122,6 +122,7 @@ def test_get_version_warning_offline(mocker: MockerFixture) -> None:
122
def test_nodeps(lintable: str) -> None:
123
"""Asserts ability to be called w/ or w/o venv activation."""
124
env = os.environ.copy()
125
+ py_path = Path(sys.executable).parent
126
proc = subprocess.run(
127
[str(py_path / "ansible-lint"), '--nodeps=true', lintable],
128
check=False,
@@ -131,7 +132,6 @@ def test_nodeps(lintable: str) -> None:
131
132
)
133
assert proc.returncode == 0, proc
134
env["ANSIBLE_LINT_NODEPS"] = "1"
- py_path = Path(sys.executable).parent
135
136
[str(py_path / "ansible-lint"), lintable],
137
0 commit comments