X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fpython;h=6018c2d0ad134e1b1bdad765e62b235e48afa618;hb=82b73ffd7380b85d259eeb91100dd6ac2d14223a;hp=f737749f5c10505ca641ca84f8f98bf538a3d012;hpb=07bb8b9e895541006eca88430925f1c6524c4708;p=notmuch 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