mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-19 20:55:14 +02:00
18 files changed
+183
-58
No files matched your search
@@ -160,7 +160,7 @@ def test_compute_httpQuery_project(compute, async_run):
|
||||
with asyncio_patch("aiohttp.ClientSession.request", return_value=response) as mock:
|
||||
response.status = 200
|
||||
|
||||
project = Project()
|
||||
project = Project(name="Test")
|
||||
async_run(compute.post("/projects", project))
|
||||
mock.assert_called_with("POST", "https://example.com:84/v2/compute/projects", data=json.dumps(project.__json__()), headers={'content-type': 'application/json'}, auth=None, chunked=False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user