X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fpython;h=3f03a2e3a966018a273bdb75dece7fcc1b224ddd;hp=179427b80a6ec37e1312193fb2f2c52a19afe689;hb=84719b08f757a6079f4c3331d0c476d19b265948;hpb=6cca3a5c16dac539db135920bc9ef9c5d237a1d5 diff --git a/test/python b/test/python index 179427b8..3f03a2e3 100755 --- a/test/python +++ b/test/python @@ -5,13 +5,35 @@ test_description="python bindings" add_email_corpus test_begin_subtest "compare thread ids" -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 <