Unverified Commit d8947826 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python313Packages.aiohttp-client-cache: fix broken tests in 0.13.0 (#441704)

parents 5971bd96 56cd5abf
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
  itsdangerous,
  motor,
  poetry-core,
  pytest-asyncio,
  pytest-aiohttp,
  pytestCheckHook,
  redis,
@@ -62,18 +63,19 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    faker
    pytest-asyncio
    pytest-aiohttp
    pytestCheckHook
  ]
  ++ lib.flatten (builtins.attrValues optional-dependencies);

  pytestFlags = [ "--asyncio-mode=auto" ];

  pythonImportsCheck = [ "aiohttp_client_cache" ];

  disabledTestPaths = [
    # Tests require running instances of the services
    "test/integration/test_dynamodb.py"
    "test/integration/test_redis.py"
    "test/integration/test_sqlite.py"
    "test/integration/*"
  ];

  meta = with lib; {