mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 01:04:51 +02:00
Rename /udp entry point to /ports/udp.
This commit is contained in:
parent
fa978b6a28
commit
e7c9139045
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
def test_udp_allocation(server):
|
def test_udp_allocation(server):
|
||||||
response = server.post('/udp', {}, example=True)
|
response = server.post('/ports/udp', {}, example=True)
|
||||||
assert response.status == 201
|
assert response.status == 201
|
||||||
assert response.json == {'udp_port': 10000}
|
assert response.json == {'udp_port': 10000}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user