Skip to content

Commit 8edbfd7

Browse files
committed
skip TestIpother
1 parent 66f508f commit 8edbfd7

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

test/functional/tm/ltm/test_profile.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import copy
1818
from distutils.version import LooseVersion
1919
from f5.bigip.mixins import UnsupportedTmosVersion
20-
from icontrol.exceptions import iControlUnexpectedHTTPError
2120
from pprint import pprint as pp
2221
pp(__file__)
2322
import pytest
@@ -566,17 +565,13 @@ def test_MCURDL(self, request, bigip):
566565
# Begin Ipother tests
567566

568567

568+
@pytest.mark.skipif(LooseVersion(pytest.config.getoption('--release')) ==
569+
'11.5.4',
570+
reason='Needs > v11.5.4 TMOS to pass')
569571
class TestIpother(object):
570572
def test_MCURDL(self, request, bigip):
571573
ipoth = HelperTest('Ipothers')
572-
if LooseVersion(pytest.config.getoption('--release')) <\
573-
LooseVersion('11.6.0'):
574-
with pytest.raises(iControlUnexpectedHTTPError) as iCUHEEIO:
575-
ipoth.test_MCURDL(request, bigip)
576-
assert 'Found unexpected json pair at configuration item' in\
577-
iCUHEEIO.value.message
578-
else:
579-
ipoth.test_MCURDL(request, bigip)
574+
ipoth.test_MCURDL(request, bigip)
580575

581576

582577
# End Ipother tests

0 commit comments

Comments
 (0)