Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4

This commit is contained in:
grossmj committed 2022-08-27 19:16:02 +02:00
1 parent 9e5ca50302
commit d1c8f33fc5
40 files changed
+108 -89

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import pytest
import pytest_asyncio
from unittest.mock import patch, MagicMock
from tests.utils import asyncio_patch, AsyncioMagicMock
@@ -24,7 +24,7 @@ from gns3server.controller.ports.ethernet_port import EthernetPort
from gns3server.controller.link import Link, FILTERS
@pytest.fixture
@pytest_asyncio.fixture
async def nodes(compute, project):
response = MagicMock()
@@ -18,6 +18,7 @@
import uuid
import os
import pytest
import pytest_asyncio
import zipfile
import json
@@ -25,7 +26,7 @@ from unittest.mock import patch, MagicMock
from tests.utils import asyncio_patch
@pytest.fixture
@pytest_asyncio.fixture
async def project(controller_api, controller):
u = str(uuid.uuid4())
@@ -17,10 +17,10 @@
import os
import uuid
import pytest
import pytest_asyncio
@pytest.fixture
@pytest_asyncio.fixture
async def project(controller_api, controller):
u = str(uuid.uuid4())
@@ -30,7 +30,7 @@ async def project(controller_api, controller):
return project
@pytest.fixture
@pytest_asyncio.fixture
async def snapshot(project):
snapshot = await project.snapshot("test")