mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-11-04 07:43:42 +00:00 
			
		
		
		
	update for new aiohttp api
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
import pytest
 | 
			
		||||
 | 
			
		||||
from pytest_aiohttp import TestClient
 | 
			
		||||
from aiohttp.test_utils import TestClient
 | 
			
		||||
 | 
			
		||||
import ahriman.version as version
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user