X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython-cffi%2Ftests%2Ftest_thread.py;fp=bindings%2Fpython-cffi%2Ftests%2Ftest_thread.py;h=afdbcfe071f721cc88e36b093bcc384aab291214;hp=1f44b35d2c9e1a798ddeefe597643fb52c4eb30a;hb=8b737af28bc377db3e661a5744f3b7479b7ce485;hpb=9e7ea628e6bddbd7345d053a3daf14af74896cc2 diff --git a/bindings/python-cffi/tests/test_thread.py b/bindings/python-cffi/tests/test_thread.py index 1f44b35d..afdbcfe0 100644 --- a/bindings/python-cffi/tests/test_thread.py +++ b/bindings/python-cffi/tests/test_thread.py @@ -13,7 +13,7 @@ def thread(maildir, notmuch): maildir.deliver(body='bar', headers=[('In-Reply-To', '<{}>'.format(msgid))]) notmuch('new') - with notmuch2.Database(maildir.path) as db: + with notmuch2.Database(maildir.path, config=notmuch2.Database.CONFIG.EMPTY) as db: yield next(db.threads('foo'))