From: Mark Walters Date: Tue, 29 Oct 2013 22:55:35 +0000 (+0000) Subject: [PATCH 08/11] test: tree: remove require from tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3043daae356f32ac34a0540109ab031b0416ab8;p=notmuch-archives.git [PATCH 08/11] test: tree: remove require from tests --- diff --git a/96/1f3e887750f70fd1683f833054214dfd082efe b/96/1f3e887750f70fd1683f833054214dfd082efe new file mode 100644 index 000000000..cfe7543d5 --- /dev/null +++ b/96/1f3e887750f70fd1683f833054214dfd082efe @@ -0,0 +1,123 @@ +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 BDCA042116B + for ; Tue, 29 Oct 2013 15:56:12 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=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 P3f25hs4QKEO for ; + Tue, 29 Oct 2013 15:56:08 -0700 (PDT) +Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com + [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 56AB6429E3C for ; Tue, 29 Oct 2013 15:55:58 -0700 + (PDT) +Received: by mail-wg0-f47.google.com with SMTP id c11so552382wgh.14 + for ; Tue, 29 Oct 2013 15:55:57 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=YQX5lvCWKtvKvdj2kqoVM1U0pGJ1eZne3/bvD1MJzL0=; + b=zYMbhX9fKEH45jMhndVMjNLWavFdaGtMq99YzyquME1gNKevNKizs5QexBnrKaqFvr + EHAQyxf6JEukbqkaY6IVyN677/2XwmUV0jWbt1ZZA1bASx3Y8gTl4hFkvl06Evopt5sv + wh0Jzxbwugy50BKqEOu77jnDhXmu97qX2oG4Zp+aGOp+F2q0tJjV7LAICOWxgrOgjUgr + 5nA8yuaNX/heWO33fGN5SrSSO71H79gMa1Nq2yghIA3bjVMxaMG6sVT1qK9QGnd3my4Z + l4g1hsPXKH5v5YLlx9abEApRt4Mi6VMRE+KsVEQjy4CcCZEkQsz8Eiykwz1CAWI516qA + pE/Q== +X-Received: by 10.180.12.198 with SMTP id a6mr141323wic.38.1383087357216; + Tue, 29 Oct 2013 15:55:57 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id sg6sm9540779wic.9.2013.10.29.15.55.56 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 29 Oct 2013 15:55:56 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 08/11] test: tree: remove require from tests +Date: Tue, 29 Oct 2013 22:55:35 +0000 +Message-Id: <1383087338-10220-9-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> +References: <1383087338-10220-1-git-send-email-markwalters1009@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: Tue, 29 Oct 2013 22:56:13 -0000 + +Now tree is autoloaded we don't need to "require it" in the test. +--- + test/emacs-tree | 6 ------ + 1 files changed, 0 insertions(+), 6 deletions(-) + +diff --git a/test/emacs-tree b/test/emacs-tree +index 4e3b624..4bdfddd 100755 +--- a/test/emacs-tree ++++ b/test/emacs-tree +@@ -9,7 +9,6 @@ add_email_corpus + + test_begin_subtest "Basic notmuch-tree view in emacs" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (test-output) +@@ -18,7 +17,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox + + test_begin_subtest "Refreshed notmuch-tree view in emacs" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (notmuch-tree-refresh-view) +@@ -33,7 +31,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox + + test_begin_subtest "Tag message in notmuch tree view (display)" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (forward-line) +@@ -48,7 +45,6 @@ test_expect_equal "$output" "id:877h1wv7mg.fsf@inf-8657.int-evry.fr" + + test_begin_subtest "Untag message in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + (forward-line) +@@ -63,7 +59,6 @@ test_expect_equal "$output" "" + + test_begin_subtest "Tag thread in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + ;; move to a sizable thread +@@ -86,7 +81,6 @@ id:20091117190054.GU3165@dottiness.seas.harvard.edu" + + test_begin_subtest "Untag thread in notmuch tree view" + test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") +- (require (quote notmuch-tree)) + (notmuch-tree "tag:inbox") + (notmuch-test-wait) + ;; move to the same sizable thread as above +-- +1.7.9.1 +