X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fpython;h=6018c2d0ad134e1b1bdad765e62b235e48afa618;hb=d51b7842149dcaedd02c4e5b6ba74a5bccd926a9;hp=179427b80a6ec37e1312193fb2f2c52a19afe689;hpb=6cca3a5c16dac539db135920bc9ef9c5d237a1d5;p=notmuch diff --git a/test/python b/test/python index 179427b8..6018c2d0 100755 --- a/test/python +++ b/test/python @@ -5,13 +5,27 @@ 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_done