notmuch/bindings/python-cffi/tests
David Bremner 8b737af28b bindings/python-cffi: search for config by default
The previous (pre-0.34.2) constructor searched for a config file but
only if the database path was not specified, and only to retrieve
database.path. Neither of the available options (CONFIG.SEARCH or
CONFIG.NONE) matches this semantics exactly, but CONFIG.SEARCH causes
less breakage for people who relied on the old behaviour to set their
database.path [1]. Since it also seems like the friendlier option in
the long run, this commit switches to CONFIG.SEARCH as default.

This requires a certain amount of updating the pytest tests, but most
users will actually have a config file, unlike the test environment.

[1]: id:87fsqijx7u.fsf@metapensiero.it
2022-01-09 15:16:51 -04:00
..
conftest.py Fix typos 2020-08-09 21:14:36 -03:00
test_base.py Rename package to notmuch2 2019-12-03 08:12:30 -04:00
test_config.py bindings/python-cffi: search for config by default 2022-01-09 15:16:51 -04:00
test_database.py bindings/python-cffi: search for config by default 2022-01-09 15:16:51 -04:00
test_errors.py Fix error message when using notmuch_status_to_string 2021-12-05 08:53:39 -04:00
test_message.py Rename package to notmuch2 2019-12-03 08:12:30 -04:00
test_tags.py bindings/python-cffi: search for config by default 2022-01-09 15:16:51 -04:00
test_thread.py bindings/python-cffi: search for config by default 2022-01-09 15:16:51 -04:00