mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make sure pytest-salt is also uninstalled for any pytest session
This commit is contained in:
parent
0b9f5d51c5
commit
6ded18614c
1 changed files with 4 additions and 3 deletions
|
@ -583,9 +583,6 @@ def pytest_parametrized(session, coverage, transport, crypto):
|
|||
# Install requirements
|
||||
_install_requirements(session, transport)
|
||||
|
||||
session.run(
|
||||
"pip", "uninstall", "-y", "pytest-salt", silent=True,
|
||||
)
|
||||
if crypto:
|
||||
session.run(
|
||||
"pip",
|
||||
|
@ -786,6 +783,10 @@ def _pytest(session, coverage, cmd_args):
|
|||
# Create required artifacts directories
|
||||
_create_ci_directories()
|
||||
|
||||
session.run(
|
||||
"pip", "uninstall", "-y", "pytest-salt", silent=True,
|
||||
)
|
||||
|
||||
env = None
|
||||
if IS_DARWIN:
|
||||
# Don't nuke our multiprocessing efforts objc!
|
||||
|
|
Loading…
Add table
Reference in a new issue