From 6e5be16da687b15086fdec0d8f868644b5c61a20 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Oct 2025 12:09:24 +0100 Subject: [PATCH] gnu: Add python-pytest-recording. * gnu/packages/python-check.scm (python-pytest-recording): New variable. Change-Id: I73a9132a7a19528790c8817ad75fd87c2d4520ff --- gnu/packages/python-check.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b059ce104a7933254280db643483ae791bb02fab..d67ab3a990b10714d7ed933c02f7323eb25fe38e 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2925,6 +2925,32 @@ The main usage is to use the @code{qtbot} fixture, responsible for handling interaction, like key presses and mouse clicks.") (license license:expat))) +(define-public python-pytest-recording + (package + (name "python-pytest-recording") + (version "0.13.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest_recording" version)) + (sha256 + (base32 "133nj8vha63gv226f0gvqn16gnazbn2rqh8amv2fx4jrm2r693an")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;XXX: more than 50% tets failed + (native-inputs + (list python-pytest-bootstrap + python-hatchling)) + (propagated-inputs + (list python-vcrpy)) + (home-page "https://github.com/kiwicom/pytest-recording") + (synopsis "Pytest support for recording and replaying HTTP traffic") + (description + "This package provides a Pytest plugin powered by +@url{https://vcrpy.readthedocs.io/en/latest/, VCR.py} to record and replay +HTTP traffic.") + (license license:expat))) + (define-public python-pytest-remotedata (package (name "python-pytest-remotedata")