Upgrade dev dependencies and fix tests to support pytest-asyncio strict mode

This commit is contained in:
grossmj committed 2022-08-24 21:03:16 +02:00
1 parent 2e91eac1eb
commit 86c44cd6e7
39 files changed
+100 -101

No files matched your search

@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import pytest
import sys
import pytest_asyncio
from fastapi import FastAPI, status
from httpx import AsyncClient
@@ -55,7 +55,7 @@ def base_params() -> dict:
# Docker._instance = None
@pytest.fixture
@pytest_asyncio.fixture
async def vm(app: FastAPI, compute_client: AsyncClient, compute_project: Project, base_params: dict) -> dict:
with asyncio_patch("gns3server.compute.docker.Docker.list_images", return_value=[{"image": "nginx"}]):