From 8abf22ef24d15a19be2bf04cf861f6801fa67e7d Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 27 May 2015 16:45:39 +0200 Subject: [PATCH] Skip network interfaces on Travis --- 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 0818fecd..dec3a436 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.mark.skipif(os.environ.get("TRAVIS", False), reason="Not supported on Travis") +@pytest.mark.skipif(os.environ.get("TRAVIS", False) is not False, reason="Not supported on Travis") def test_interfaces(server): response = server.get('/interfaces', example=True) assert response.status == 200