notmuch-test: Add a new add_message function.
authorCarl Worth <cworth@cworth.org>
Fri, 5 Feb 2010 01:34:48 +0000 (17:34 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 5 Feb 2010 01:34:48 +0000 (17:34 -0800)
commit5c938e51b263a3697623c3f2cf3e6fe0244d351e
tree9aef13dd83c1424ecc04f3b7c949042e8a2513df
parent2bc0af15aa4cc5b4963e9ff2c2b615ea9ce4ffca
notmuch-test: Add a new add_message function.

The previous generate_message function is what's needed when testing
"notmuch new". But after that, we never want to generate a message
without also adding it to the index. So create a new add_message
function with this convenience.
test/notmuch-test