Merge pull request #293405 from dotlambda/aiogram-fix
python311Packages.aiogram: fix tests
This commit is contained in:
@@ -5,12 +5,13 @@
|
||||
, pytestCheckHook
|
||||
, aiohttp
|
||||
, aiohttp-socks
|
||||
, aioredis
|
||||
, aiofiles
|
||||
, aresponses
|
||||
, babel
|
||||
, certifi
|
||||
, magic-filter
|
||||
, pycryptodomex
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-lazy-fixture
|
||||
, redis
|
||||
@@ -49,8 +50,9 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiohttp-socks
|
||||
aioredis
|
||||
aresponses
|
||||
pycryptodomex
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-lazy-fixture
|
||||
pytestCheckHook
|
||||
@@ -58,10 +60,9 @@ buildPythonPackage rec {
|
||||
redis
|
||||
];
|
||||
|
||||
# import failures
|
||||
disabledTests = [
|
||||
"test_aiohtt_server"
|
||||
"test_deep_linking"
|
||||
pytestFlagsArray = [
|
||||
"-W" "ignore::pluggy.PluggyTeardownRaisedWarning"
|
||||
"-W" "ignore::pytest.PytestDeprecationWarning"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiogram" ];
|
||||
|
||||
Reference in New Issue
Block a user