From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gBbyOmt1Q2GEhwAAgWs5BA (envelope-from ) for ; Thu, 16 Sep 2021 18:48:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6HPHNmt1Q2F/bQAAB5/wlQ (envelope-from ) for ; Thu, 16 Sep 2021 16:48:43 +0000 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 9527F2449F for ; Thu, 16 Sep 2021 18:48:43 +0200 (CEST) Received: from localhost ([::1]:44006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQuZ0-00082k-PO for larch@yhetil.org; Thu, 16 Sep 2021 12:48:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQuBC-0006s3-5W for guix-patches@gnu.org; Thu, 16 Sep 2021 12:24:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQuBA-0004Uj-Fa for guix-patches@gnu.org; Thu, 16 Sep 2021 12:24:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQuBA-0007H2-9p for guix-patches@gnu.org; Thu, 16 Sep 2021 12:24:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH v3 11/21] gnu: python-moto: Respect #:tests?. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 16:24:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50018@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50018-submit@debbugs.gnu.org id=B50018.163180940327724 (code B ref 50018); Thu, 16 Sep 2021 16:24:04 +0000 Received: (at 50018) by debbugs.gnu.org; 16 Sep 2021 16:23:23 +0000 Received: from localhost ([127.0.0.1]:56359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQuAU-0007D6-Rn for submit@debbugs.gnu.org; Thu, 16 Sep 2021 12:23:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQuAS-0007CF-Dz for 50018@debbugs.gnu.org; Thu, 16 Sep 2021 12:23:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DD44524002A for <50018@debbugs.gnu.org>; Thu, 16 Sep 2021 18:23:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631809394; bh=hcvjmMWt069UqcWN4EAGKTn41zxw3F5obaQoU1hrCMo=; h=From:To:Cc:Subject:Date:From; b=RV+5MvzU3bdyiA+EFOwIrTukLdnMHcDQr4i0Dvz/5gvzpdihjzpj2MVYbkUYJDdne clqyc845bGgoVOvVhwfZZrYDMjTVNZvcYbBDFzdzYEtK2TX+yzcVTCZ2I7LLGRwzZ3 qmdNTOWodBRStPfIsP9TOSBacGadobbOaDe/LKR42yMTNYUgraTWE2IJV4m8H5JtGy XuOaZ1gIoYwoo28QftqBWCgEW3SZhGBMQyNeHNFMwy33CCd8ZbNC8jd1bNliH1uV9X fIkfhQHTA3q37Ej0XloJRUD/Y+z1tqMp5DpqSDjuRDGMk712jLh8Q6A3SFO0cjVQN9 pytPrh/l5GaOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H9Mns6wl1z9rxR; Thu, 16 Sep 2021 18:23:13 +0200 (CEST) From: Vinicius Monego Date: Thu, 16 Sep 2021 16:21:02 +0000 Message-Id: <20210916162112.54462-12-monego@posteo.net> In-Reply-To: <20210916162112.54462-1-monego@posteo.net> References: <20210916162112.54462-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631810923; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RuIviYY8fcncU8NeCOhwiTqZtC9Ik73DqbRUe/8zfUE=; b=L/15+Dc5Sh/qI01YHCdy1B91JVx6WBQ4L1UpUw00HWhk/WYIelHci7Lfpgaf2GarlKWqO7 ZnvgPQVH8EHlXgFhCChHWrJ4xYtIui+EP79gRjPDRGpr76C8Al+Em9JMaK5EXQt3RbbLGK gdYDdU7OhipQvBac9YAc6sZDfXqZrHNemfy7bGVtG2mjuDb77O+Sya6efPi2FISLU1eKGC cHkLCV2YH6Odmj1vX1XaPpUoHfSEwn/Z97YZOw23YT36E6VRM5gcALaqHQbEli6wdFyk24 2xzgwdHxc41MCZ6cvCiLs0lZrK98YXNQb6kie7cJznUJfvi9dllQpiX1NaE8gg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631810923; a=rsa-sha256; cv=none; b=GSCxavUvtcL0VKY6p648jlXrrNRNU1o+m6Kuk1aJ+7vQXVgwElAGd39P8aSxWqFJLt1qWP NITkQQ3Sg3wBs2D+XX91+6sbv5HySoZrxzZ9L6kBDMFJ4OqQlCAqTarldjt6odkiHW1Auo eLcs4jlRassW5/Qg8HIbuxdLW5V1A7RusUtec29oo/7RQPonIy9RFhwX9HcY6h0T6eEb0r FKelfDUaDQUxYSDOh4RY1cpbDDKITfIrxrGCxtfS8Lqedl9y6DND3mhZsgTAWed/3Zv3T5 dbQdS+Kt3aOnWGm2UKNttwoE4M+GM2lGQcrjfcfbLBRlmrXkg0ULC5OmZ2TMMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RV+5MvzU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RV+5MvzU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9527F2449F X-Spam-Score: 5.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: tYlLFLrx01PX * gnu/packages/python-xyz.scm (python-moto)[source]: Make some cosmetic changes. [arguments]: Respect #:tests? in the custom 'check phase. --- gnu/packages/python-xyz.scm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b2be163eec..9f8df19a66 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12673,21 +12673,22 @@ text.") (("#!/bin/bash") (string-append "#!" (which "bash")))))) (replace 'check - (lambda _ - (setenv "PYTHONPATH" (string-append "./build/lib:" - (getenv "PYTHONPATH"))) - (invoke "pytest" "-vv" "-m" "not network" "-k" - (string-append - ;; These tests require Docker. - "not test_terminate_job" - " and not test_invoke_function_from_sqs_exception" - " and not test_rotate_secret_lambda_invocations" - ;; ConnectionAborted errors. - " and not test_put_record_batch_http_destination" - " and not test_put_record_http_destination" - " and not test_dependencies" - " and not test_cancel_running_job" - " and not test_container_overrides"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "PYTHONPATH" (string-append "./build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest" "-vv" "-m" "not network" "-k" + (string-append + ;; These tests require Docker. + "not test_terminate_job" + " and not test_invoke_function_from_sqs_exception" + " and not test_rotate_secret_lambda_invocations" + ;; ConnectionAborted errors. + " and not test_put_record_batch_http_destination" + " and not test_put_record_http_destination" + " and not test_dependencies" + " and not test_cancel_running_job" + " and not test_container_overrides")))))))) (native-inputs `(("python-flask" ,python-flask) ("python-flask-cors" ,python-flask-cors) -- 2.30.2