mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-18 14:28:08 +00:00
Fix /network/interfaces broken test
This commit is contained in:
parent
9bf4c22a50
commit
1f2ce48fc8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user