1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Modify the TRAVIS environment check

This commit is contained in:
Daniel Lintott 2014-08-08 14:49:10 +01:00
parent 7cbce0f81b
commit 8fc4667d2c

View File

@ -14,7 +14,7 @@ def iou(request):
return iou_device return iou_device
@pytest.mark.skipif(os.environ["TRAVIS"] == "TRUE", @pytest.mark.skipif(os.environ["TRAVIS"] == 'true',
reason="IOU Image not available on Travis") reason="IOU Image not available on Travis")
def test_iou_is_started(iou): def test_iou_is_started(iou):
@ -23,7 +23,7 @@ def test_iou_is_started(iou):
assert iou.is_running() assert iou.is_running()
@pytest.mark.skipif(os.environ["TRAVIS"] == "TRUE", @pytest.mark.skipif(os.environ["TRAVIS"] == 'true',
reason="IOU Image not available on Travis") reason="IOU Image not available on Travis")
def test_iou_restart(iou): def test_iou_restart(iou):