Skip to content

Commit

Permalink
skip zcbuildout state test when virtualenv 20.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch3LL committed Mar 12, 2020
1 parent fdeae1f commit dca3390
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/states/test_zcbuildout.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
from tests.support.helpers import requires_network
from tests.support.runtests import RUNTIME_VARS
from tests.support.unit import skipIf
from tests.unit.modules.test_zcbuildout import Base, KNOWN_VIRTUALENV_BINARY_NAMES

# Import Salt libs
import salt.utils.path
from tests.unit.modules.test_zcbuildout import Base, KNOWN_VIRTUALENV_BINARY_NAMES
import salt.modules.zcbuildout as modbuildout
import salt.modules.virtualenv_mod
import salt.states.zcbuildout as buildout
import salt.modules.cmdmod as cmd

Expand Down Expand Up @@ -60,6 +61,8 @@ def test_error(self):

@requires_network()
def test_installed(self):
if salt.modules.virtualenv_mod.virtualenv_ver(self.ppy_st) >= (20, 0, 0):
self.skipTest("Skiping until upstream resolved https://github.com/pypa/virtualenv/issues/1715")
b_dir = os.path.join(self.tdir, 'b')
ret = buildout.installed(b_dir,
python=self.py_st,
Expand Down

0 comments on commit dca3390

Please sign in to comment.