diff --git a/tests/handlers/api/test_network.py b/tests/handlers/api/test_network.py index 24231366..d675d4f6 100644 --- a/tests/handlers/api/test_network.py +++ b/tests/handlers/api/test_network.py @@ -16,8 +16,8 @@ # along with this program. If not, see . -def test_udp_allocation(server): - response = server.post('/ports/udp', {}, example=True) +def test_udp_allocation(server, project): + response = server.post('/projects/{}/ports/udp'.format(project.id), {}, example=True) assert response.status == 201 assert response.json == {'udp_port': 10000}