mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: add known broken tests for python bindings in split configs
This reproduces the bug(s) reported in id:87h7d4wp6b.fsf@tethera.net
This commit is contained in:
parent
5f077bef37
commit
caafab01a4
1 changed files with 18 additions and 1 deletions
|
@ -306,7 +306,24 @@ EOF
|
|||
output2=$(notmuch --config='' config get ${key})
|
||||
notmuch config set ${key}
|
||||
test_expect_equal "${output}+${output2}" "${value}+"
|
||||
;;
|
||||
;&
|
||||
split)
|
||||
test_begin_subtest "'to' header does not crash (python-cffi) ($config)"
|
||||
test_subtest_known_broken
|
||||
echo 'notmuch@notmuchmail.org' > EXPECTED
|
||||
test_python <<EOF
|
||||
import notmuch2
|
||||
db=notmuch2.Database()
|
||||
m=db.find('20091117232137.GA7669@griffis1.net')
|
||||
to=m.header('To')
|
||||
print(to)
|
||||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
;& # fall through
|
||||
esac
|
||||
|
||||
case $config in
|
||||
split|XDG*)
|
||||
esac
|
||||
restore_config
|
||||
rm -rf home/.local
|
||||
|
|
Loading…
Reference in a new issue