X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fpython;h=3f03a2e3a966018a273bdb75dece7fcc1b224ddd;hp=f737749f5c10505ca641ca84f8f98bf538a3d012;hb=b52ee879d869304c981be713566b40aa3f7a44db;hpb=07bb8b9e895541006eca88430925f1c6524c4708 diff --git a/test/python b/test/python index f737749f..3f03a2e3 100755 --- a/test/python +++ b/test/python @@ -5,15 +5,35 @@ 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_begin_subtest "get non-existent file" +test_python <