mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
use site packages to avoid missing dependencies in test venv
This commit is contained in:
parent
5e96a196f7
commit
f8b91f3978
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ def salt_extension(tmp_path_factory):
|
|||
|
||||
@pytest.fixture
|
||||
def venv(tmp_path):
|
||||
with SaltVirtualEnv(venv_dir=tmp_path / ".venv") as _venv:
|
||||
with SaltVirtualEnv(
|
||||
venv_dir=tmp_path / ".venv", system_site_packages=True
|
||||
) as _venv:
|
||||
yield _venv
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue