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

Fix /network/interfaces broken test

This commit is contained in:
Julien Duponchelle 2016-07-11 14:21:33 +02:00
parent 9bf4c22a50
commit 1f2ce48fc8
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -28,6 +28,6 @@ def test_udp_allocation(http_compute, project):
# Netfifaces is not available on Travis # Netfifaces is not available on Travis
@pytest.mark.skipif(os.environ.get("TRAVIS", False) is not 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(http_compute): def test_interfaces(http_compute):
response = http_compute.get('/interfaces', example=True) response = http_compute.get('/network/interfaces', example=True)
assert response.status == 200 assert response.status == 200
assert isinstance(response.json, list) assert isinstance(response.json, list)