pythonPackages.pytest-httpx: init at 0.10.1

This commit is contained in:
Sandro Jäckel 2021-02-17 14:07:36 +01:00
parent c2b3dda317
commit 05f43031d2
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, httpx, pytest }:
buildPythonPackage rec {
pname = "pytest-httpx";
version = "0.10.1";
src = fetchPypi {
inherit version;
pname = "pytest_httpx";
extension = "tar.gz";
sha256 = "13ld6nnsc3f7i4zl4qm1jh358z0awr6xfk05azwgngmjb7jmcz0a";
};
propagatedBuildInputs = [ httpx pytest ];
# not in pypi tarball
doCheck = false;
pythonImportsCheck = [ "pytest_httpx" ];
meta = with lib; {
description = "Send responses to httpx";
homepage = "https://github.com/Colin-b/pytest_httpx";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -6163,6 +6163,8 @@ in {
pytest-httpserver = callPackage ../development/python-modules/pytest-httpserver { }; pytest-httpserver = callPackage ../development/python-modules/pytest-httpserver { };
pytest-httpx = callPackage ../development/python-modules/pytest-httpx { };
pytest-instafail = callPackage ../development/python-modules/pytest-instafail { }; pytest-instafail = callPackage ../development/python-modules/pytest-instafail { };
pytest-isort = callPackage ../development/python-modules/pytest-isort { }; pytest-isort = callPackage ../development/python-modules/pytest-isort { };