From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 8761B6DE1801 for ; Sun, 25 Mar 2018 11:22:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hrxhk-MDfn0Z for ; Sun, 25 Mar 2018 11:22:11 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 9EB4C6DE2270 for ; Sun, 25 Mar 2018 11:22:10 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1f09dS-000578-ID; Sun, 25 Mar 2018 13:40:50 -0400 Received: (nullmailer pid 18105 invoked by uid 1000); Sun, 25 Mar 2018 17:40:49 -0000 From: David Bremner To: Justus Winter , Floris Bruynooghe , David Bremner , "W. Trevor King" Cc: notmuch@notmuchmail.org Subject: [PATCH 3/3] test: add example test using pytest Date: Sun, 25 Mar 2018 14:40:34 -0300 Message-Id: <20180325174034.17912-4-david@tethera.net> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180325174034.17912-1-david@tethera.net> References: <87po3x4tuc.fsf@thinkbox.jade-hamburg.de> <20180325174034.17912-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2018 18:22:11 -0000 It might make sense to remove the non-pytest version of this test, but that requires other changes to following tests --- test/T390-python.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/T390-python.sh b/test/T390-python.sh index 9f71ce3c..72036004 100755 --- a/test/T390-python.sh +++ b/test/T390-python.sh @@ -194,4 +194,16 @@ EOF echo "$fname" > EXPECTED test_expect_equal_file EXPECTED OUTPUT +if [ -n "${NOTMUCH_PYTEST}" ]; then + + test_begin_subtest "pytest based get_revision" + test_expect_pytest_success <