Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7ECF2429E21 for ; Mon, 2 Jan 2012 06:51:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bNCuUGNmBgR6 for ; Mon, 2 Jan 2012 06:51:47 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CB848431FD0 for ; Mon, 2 Jan 2012 06:51:46 -0800 (PST) Received: by wibhq2 with SMTP id hq2so10052053wib.26 for ; Mon, 02 Jan 2012 06:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=iAX4eLl25m3vYSOAnNh0jwQvKr6eCS8jRw4HXKtuh1A=; b=AvZuBcbzCGbFOMjzU0KknJVrEMHBPed1U+ioB0lCPwaX1SoEmWVfBfOfIdfwi0b3Cg V/gJey8ZKH5r6V0iq2wpNUeraorD9k8mAo9m8HHOGnWV9h4PEHODlKnDgq9H88PQJlyP 8Qtcp7VJTyIwwmI+75jSQprmaDdffk+Sh607w= Received: by 10.180.91.201 with SMTP id cg9mr106994491wib.15.1325515905614; Mon, 02 Jan 2012 06:51:45 -0800 (PST) Received: from localhost (cpc1-sgyl2-0-0-cust548.18-2.cable.virginmedia.com. [82.41.10.37]) by mx.google.com with ESMTPS id m13sm50905123wbh.0.2012.01.02.06.51.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jan 2012 06:51:44 -0800 (PST) From: Patrick Totzke To: notmuch@notmuchmail.org Subject: [PATCH 2/2] python test "compare message ids" Date: Mon, 2 Jan 2012 14:51:27 +0000 Message-Id: <1325515887-15201-2-git-send-email-patricktotzke@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1325515887-15201-1-git-send-email-patricktotzke@gmail.com> References: <20120102144722.18163.37346@brick.lan> <1325515887-15201-1-git-send-email-patricktotzke@gmail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Mon, 02 Jan 2012 14:51:47 -0000 Introduces a second (trivial) test for the python bindings that searches for message ids and compares the output with that of `notmuch search`. --- test/python | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/test/python b/test/python index c318cc1..6018c2d 100755 --- a/test/python +++ b/test/python @@ -15,4 +15,17 @@ for t in q_new.search_threads(): EOF notmuch search --sort=oldest-first --output=threads tag:inbox | sed s/^thread:// > EXPECTED test_expect_equal_file OUTPUT EXPECTED + +test_begin_subtest "compare message ids" +test_python < EXPECTED +test_expect_equal_file OUTPUT EXPECTED + test_done -- 1.7.5.4