From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8OmALMWZjGWeTgAAkFu2QA (envelope-from ) for ; Wed, 27 Dec 2023 22:40:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gDP9JsWZjGUTDwEA62LTzQ (envelope-from ) for ; Wed, 27 Dec 2023 22:40:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=TUMOD0+Q; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703713221; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=RSC2PkrRAX5l4ZCB72aT6Ay1P5BlsZW449ycDTTqHBY=; b=Ng3LVW6U79z/DFJIn89/4W5nK/Xx0tYwiIB4L9oBrz5TzxgEbXuFXBWx0zHMMWWHL6qR97 2b6YPkXKSOjdLtcSCrVByf/OYhGDnxO1Yr6cTNdzuEyHDAwRHzU51dF85Edx+8jdukdGhr fG/4NpMiTEbmpiIOdjH4EPdKbJF1R7EE2RVTLX9J4V+w2cCvhqnhBRZWxiHX3Zol5gVuIM aGxMwftElBSwDCP0KCLmR1ZhzV5F3j+PyQKiSDU7luAhwlUZymKEZCmhKNWXGbKStCykBu tM1ELC7tDhepznbdur74dFQeeGldfP5qnsXwnXVzos12B14AZItonHA/+4NZTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703713221; a=rsa-sha256; cv=none; b=HWRNySFwbs2W75JLo4rn/P+I/zdT/GhA1LvWn/VzYbsfGASmvzLSDi56VZSox+cbk6byq8 W5jmiJmvFkquydZmR1Pr1z7OcFCN/a1I5x13ONFMQB7oolTXjlkf0L8M6kA/ppdZs7Bo0A dE1DfSzH+VY7uzQUB3Nd5g+iX1GxoQPTfbtQfYHYTqd972IndyizwDD2yoT3oDfd5zLuSy 1OHan6FIEg0li74N9MAKmBAG9ZekZ8nzCYtVfvPVsT8IUR7q5/RgmbVFyrIR9H59NYthgr 6EWuRY8VCMARaPYKlWsgz88PMTEgIgH+U95Ceb+mUA3m2JG3m5/ZZqkIShg0ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=TUMOD0+Q; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2406E5F57F for ; Wed, 27 Dec 2023 22:40:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIbdG-0007Ci-PP; Wed, 27 Dec 2023 16:40:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIbdE-0007CL-65 for guix-patches@gnu.org; Wed, 27 Dec 2023 16:40:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIbdD-0002uK-Sg for guix-patches@gnu.org; Wed, 27 Dec 2023 16:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIbdC-0004Y7-JS for guix-patches@gnu.org; Wed, 27 Dec 2023 16:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68069] [PATCH] gnu: Add python-pytest-cookies. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Dec 2023 21:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68069@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170371316217427 (code B ref -1); Wed, 27 Dec 2023 21:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2023 21:39:22 +0000 Received: from localhost ([127.0.0.1]:37972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbcX-0004X0-9E for submit@debbugs.gnu.org; Wed, 27 Dec 2023 16:39:21 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIbcU-0004Wl-37 for submit@debbugs.gnu.org; Wed, 27 Dec 2023 16:39:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIbcO-00075S-P1 for guix-patches@gnu.org; Wed, 27 Dec 2023 16:39:13 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rIbcN-0002hm-0N for guix-patches@gnu.org; Wed, 27 Dec 2023 16:39:12 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4T0lQJ3WG9z9scJ for ; Wed, 27 Dec 2023 22:39:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1703713144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=RSC2PkrRAX5l4ZCB72aT6Ay1P5BlsZW449ycDTTqHBY=; b=TUMOD0+QlsS9bszeHXIxAR4VvecoGuuzsb/qV9+qIWPyl0K3d1o4M6y+jYIKFSHc+T1mKN GBvk9WBtj4fA9wUzvvp5jAOwOq5ysTRRXCjkmvNJzb0gvUuCKw1leViLNkwRXRo4jk//Vr XRbuKqu06Rz8PnaltV5IPS46s3ELf7IDrwXUQ0MrQvudrm+inF4gzv7YAWy149cMF1Pc02 Pivpsh2qdTp6T6/X35ZrSthlA8fBGruhj+RqVzKqq1sOTK0/GZnb9jmDI74lRCXE1t3r5o ArM8ZOJZIcmAygU+yC0nc1oKgWvMb81lMJf1LCGadruKZGBhwkuCGtJIzPj5xA== From: Troy Figiel Date: Wed, 27 Dec 2023 22:29:37 +0100 Message-ID: <87tto3comb.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4T0lQJ3WG9z9scJ Received-SPF: pass client-ip=80.241.56.152; envelope-from=troy@troyfigiel.com; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.33 X-Spam-Score: -5.33 X-Migadu-Queue-Id: 2406E5F57F X-Migadu-Scanner: mx11.migadu.com X-TUID: R2Lxk4XZKOoY * gnu/packages/python-check.scm (python-pytest-cookies): New variable. Change-Id: I0b085d345bf1bce5fc9c03315da06954cf2125cb --- gnu/packages/python-check.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index ea74472270..f02ca10298 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -583,6 +583,38 @@ (define-public python-pytest-arraydiff are too large to conveniently hard-code them in the tests.") (license license:bsd-3))) +(define-public python-pytest-cookies + (package + (name "python-pytest-cookies") + (version "0.7.0") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/hackebrot/pytest-cookies") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x7ny6mx1siy9law1cv1i63nvv9ds2g1dlagm40l8qymxry43mjn")))) + (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (native-inputs (list python-pytest)) + (propagated-inputs (list python-cookiecutter)) + (home-page "https://github.com/hackebrot/pytest-cookies") + (synopsis "Pytest plugin for Cookiecutter templates") + (description + "This Pytest plugin adds a @code{cookies} fixture, which is a +wrapper for the Cookiecutter API. This fixture helps you verify that +your template is working as expected and takes care of cleaning up after +running the tests.") + (license license:expat))) + (define-public python-pytest-doctestplus (package (name "python-pytest-doctestplus") base-commit: 5bd80ccd69047b1777749e24d4adf2c951b5d14b -- 2.40.1