X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fpython;h=3f03a2e3a966018a273bdb75dece7fcc1b224ddd;hp=c3aa7266e285f0e6b6f4b2671ffed07663eab805;hb=84719b08f757a6079f4c3331d0c476d19b265948;hpb=2621f6cef19acc99745c389f5e324fea55f655d8 diff --git a/test/python b/test/python index c3aa7266..3f03a2e3 100755 --- a/test/python +++ b/test/python @@ -7,11 +7,33 @@ add_email_corpus test_begin_subtest "compare thread ids" test_python < EXPECTED -test_expect_equal_file <(sort OUTPUT) 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 <