From 4216724d0babbcf1c2e08938dcf8c3b194803ee5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 26 May 2015 12:00:13 +0200 Subject: [PATCH] Give a reason for travis skip test --- tests/handlers/api/test_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/handlers/api/test_network.py b/tests/handlers/api/test_network.py index 1bad3a8a..0818fecd 100644 --- a/tests/handlers/api/test_network.py +++ b/tests/handlers/api/test_network.py @@ -26,7 +26,7 @@ def test_udp_allocation(server, project): # Netfifaces is not available on Travis -@pytest.skipif(os.environ.get("TRAVIS", False)) +@pytest.mark.skipif(os.environ.get("TRAVIS", False), reason="Not supported on Travis") def test_interfaces(server): response = server.get('/interfaces', example=True) assert response.status == 200