update for new aiohttp api

This commit is contained in:
Evgenii Alekseev 2022-02-06 04:05:33 +03:00
parent 9197b416e6
commit f9b1d89756
6 changed files with 7 additions and 5 deletions

View File

@ -3,3 +3,4 @@ test = pytest
[tool:pytest]
addopts = --cov=ahriman --cov-report term-missing:skip-covered --pspec
asyncio_mode = auto

View File

@ -2,7 +2,8 @@ import pytest
from aiohttp import web
from asyncio import BaseEventLoop
from pytest_aiohttp import TestClient
from aiohttp.test_utils import TestClient
from pytest_mock import MockerFixture
from typing import Any

View File

@ -1,6 +1,6 @@
import pytest
from pytest_aiohttp import TestClient
from aiohttp.test_utils import TestClient
from ahriman.models.build_status import BuildStatus, BuildStatusEnum
from ahriman.models.package import Package

View File

@ -1,6 +1,6 @@
import pytest
from pytest_aiohttp import TestClient
from aiohttp.test_utils import TestClient
from pytest_mock import MockerFixture
from ahriman.models.build_status import BuildStatusEnum

View File

@ -1,6 +1,6 @@
import pytest
from pytest_aiohttp import TestClient
from aiohttp.test_utils import TestClient
import ahriman.version as version

View File

@ -1,6 +1,6 @@
import pytest
from pytest_aiohttp import TestClient
from aiohttp.test_utils import TestClient
from ahriman.models.user_access import UserAccess
from ahriman.web.views.index import IndexView