Unverified Commit ca40fe77 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.aiohttp-middlewares: disable failing tests (#446812)

parents 5878a674 c1cd1e6a
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
  poetry-core,
  pytest-aiohttp,
  pytestCheckHook,
  pythonOlder,
  yarl,
}:

@@ -16,8 +15,6 @@ buildPythonPackage rec {
  version = "2.4.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "playpauseandstop";
    repo = "aiohttp-middlewares";
@@ -46,10 +43,18 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "aiohttp_middlewares" ];

  disabledTests = [
    # TRests are outdated
    "test_shield_middleware_funcitonal[DELETE-False]"
    "test_shield_middleware_funcitonal[GET-False]"
    "test_shield_middleware_funcitonal[POST-True]"
    "test_shield_middleware_funcitonal[PUT-False]"
  ];

  meta = with lib; {
    description = "Collection of useful middlewares for aiohttp.web applications";
    homepage = "https://github.com/playpauseandstop/aiohttp-middlewares";
    changelog = "https://github.com/playpauseandstop/aiohttp-middlewares/blob/${version}/CHANGELOG.rst";
    changelog = "https://github.com/playpauseandstop/aiohttp-middlewares/blob/${src.tag}/CHANGELOG.rst";
    license = licenses.bsd3;
    maintainers = with maintainers; [ fab ];
  };