2 test_description="python bindings"
7 test_begin_subtest "compare thread ids"
10 db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
11 q_new = notmuch.Query(db, 'tag:inbox')
12 for t in q_new.search_threads():
13 print t.get_thread_id()
15 notmuch search --output=threads tag:inbox | sed s/^thread:// | sort > EXPECTED
16 test_expect_equal_file <(sort OUTPUT) EXPECTED