Skip to content

Commit

Permalink
Merge pull request #47680 from rallytime/merge-2018.3
Browse files Browse the repository at this point in the history
[2018.3] Merge forward from 2018.3.1 to 2018.3
  • Loading branch information
Nicole Thomas committed May 17, 2018
2 parents dbf12f9 + 9b1773a commit b91c0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions tests/integration/modules/test_pip.py
Expand Up @@ -11,7 +11,6 @@
import os
import re
import shutil
import sys
import tempfile

# Import Salt Testing libs
Expand Down Expand Up @@ -75,8 +74,7 @@ def test_issue_2087_missing_pip(self):

# Let's remove the pip binary
pip_bin = os.path.join(self.venv_dir, 'bin', 'pip')
py_dir = 'python{0}.{1}'.format(*sys.version_info[:2])
site_dir = os.path.join(self.venv_dir, 'lib', py_dir, 'site-packages')
site_dir = self.run_function('virtualenv.get_distribution_path', [self.venv_dir, 'pip'])
if salt.utils.platform.is_windows():
pip_bin = os.path.join(self.venv_dir, 'Scripts', 'pip.exe')
site_dir = os.path.join(self.venv_dir, 'lib', 'site-packages')
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/states/test_pip_state.py
Expand Up @@ -240,8 +240,7 @@ def test_issue_2087_missing_pip(self):

# Let's remove the pip binary
pip_bin = os.path.join(venv_dir, 'bin', 'pip')
py_dir = 'python{0}.{1}'.format(*sys.version_info[:2])
site_dir = os.path.join(venv_dir, 'lib', py_dir, 'site-packages')
site_dir = self.run_function('virtualenv.get_distribution_path', [venv_dir, 'pip'])
if salt.utils.platform.is_windows():
pip_bin = os.path.join(venv_dir, 'Scripts', 'pip.exe')
site_dir = os.path.join(venv_dir, 'lib', 'site-packages')
Expand Down

0 comments on commit b91c0f5

Please sign in to comment.