diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-21 12:58:51 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-21 12:59:23 +0100 |
| commit | 1bc4063e2b34118bf9bdc14121d825f4d24e24e0 (patch) | |
| tree | 8b01e1f893e1997dcfc8419936c8e06f266417e2 /gnu/packages/python-check.scm | |
| parent | b728bf0e1f93d0c3593f2b9b52467a268e0ac74a (diff) | |
gnu: Add python-pytest-httpx2.
* gnu/packages/python-check.scm (python-pytest-httpx2): New variable.
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 90f2a041a3a..278bfb3d48f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -3436,6 +3436,33 @@ import them in their actual tests to use them.") | |||
| 3436 | requests to be replied to with user provided responses.") | 3436 | requests to be replied to with user provided responses.") |
| 3437 | (license license:expat))) | 3437 | (license license:expat))) |
| 3438 | 3438 | ||
| 3439 | (define-public python-pytest-httpx2 | ||
| 3440 | (package | ||
| 3441 | (name "python-pytest-httpx2") | ||
| 3442 | (version "1.0.1") | ||
| 3443 | (source | ||
| 3444 | (origin | ||
| 3445 | (method git-fetch) | ||
| 3446 | (uri (git-reference | ||
| 3447 | (url "https://github.com/angryfoxx/httpx2-pytest") | ||
| 3448 | (commit (string-append "v" version)))) | ||
| 3449 | (file-name (git-file-name name version)) | ||
| 3450 | (sha256 | ||
| 3451 | (base32 "1d7hvixh2dq3pzs24bh2wk94wgf02r9nk9dnhrbps6gq0w94vxy2")))) | ||
| 3452 | (build-system pyproject-build-system) | ||
| 3453 | (native-inputs | ||
| 3454 | (list python-pytest-asyncio | ||
| 3455 | python-pytest-bootstrap | ||
| 3456 | python-setuptools)) | ||
| 3457 | (propagated-inputs | ||
| 3458 | (list python-httpx2)) | ||
| 3459 | (home-page "https://github.com/angryfoxx/httpx2-pytest") | ||
| 3460 | (synopsis "Pytest plugin for mocking out httpx2 using respx") | ||
| 3461 | (description | ||
| 3462 | "This package provides a Pytest plugin for mocking out HTTPX2 using | ||
| 3463 | respx.") | ||
| 3464 | (license license:expat))) | ||
| 3465 | |||
| 3439 | (define-public python-pytest-instafail | 3466 | (define-public python-pytest-instafail |
| 3440 | (package | 3467 | (package |
| 3441 | (name "python-pytest-instafail") | 3468 | (name "python-pytest-instafail") |
