X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fpython;h=6018c2d0ad134e1b1bdad765e62b235e48afa618;hp=f737749f5c10505ca641ca84f8f98bf538a3d012;hb=9e701465ebb43bcd5a56155be404758976e66c1f;hpb=f0e0053149bb3b51f4a0cd43371292b639f236a8 diff --git a/test/python b/test/python index f737749f..6018c2d0 100755 --- a/test/python +++ b/test/python @@ -5,15 +5,27 @@ test_description="python bindings" add_email_corpus test_begin_subtest "compare thread ids" -LD_LIBRARY_PATH=$TEST_DIRECTORY/../lib \ -PYTHONPATH=$TEST_DIRECTORY/../bindings/python \ -python < OUTPUT +test_python < EXPECTED +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