<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T390-python.sh, branch debian/0.29.2-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.29.2-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.29.2-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-12-24T13:47:35Z</updated>
<entry>
<title>python: add decrypt_policy argument to Database.index_file()</title>
<updated>2017-12-24T13:47:35Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-12-19T19:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6aec7a76b9e70544a93b092c50d167c3e63548ee'/>
<id>urn:sha1:6aec7a76b9e70544a93b092c50d167c3e63548ee</id>
<content type='text'>
We adopt a pythonic idiom here with an optional argument, rather than
exposing the user to the C indexopts object directly.

This now includes a simple test to ensure that the decrypt_policy
argument works as expected.
</content>
</entry>
<entry>
<title>test: Add test to unset config items with the python bindings</title>
<updated>2017-12-19T10:42:50Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=660f1a5a3373f098f6df8912ef6b62fa2b08d8f0'/>
<id>urn:sha1:660f1a5a3373f098f6df8912ef6b62fa2b08d8f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>python: Rename get_config_list to get_configs</title>
<updated>2017-12-19T10:42:11Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3444c731d27fd42bbbdaae00af6ca48b4525b03b'/>
<id>urn:sha1:3444c731d27fd42bbbdaae00af6ca48b4525b03b</id>
<content type='text'>
The old name has a bit of a feeling of hungarian notation.  Also many
generators in the core are named with the suffix "s" to indicate
iterables: dict.items, dict.keys for example.
</content>
</entry>
<entry>
<title>test: Add tests for new python bindings</title>
<updated>2017-12-19T10:41:23Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7a07fd8625e55d425a72af9abe45d99a1d0198cf'/>
<id>urn:sha1:7a07fd8625e55d425a72af9abe45d99a1d0198cf</id>
<content type='text'>
The tests where adopted from the tests for the corresponding C functions
in test/T590-libconfig.sh.
</content>
</entry>
<entry>
<title>test: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>T390-python: add test for get_message_parts and special characters</title>
<updated>2017-10-02T10:21:41Z</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2017-09-24T12:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=073d05eec35cf010dbe9640147c41e5eb945c36e'/>
<id>urn:sha1:073d05eec35cf010dbe9640147c41e5eb945c36e</id>
<content type='text'>
This imports a message with ISO-8859-2 encoded characters, then opens
the database using the python bindings. We peek through all mesage
parts, afterwards print the message id.

Signed-off-by: Florian Klink &lt;flokli@flokli.de&gt;
Signed-off-by: Andreas Rammhold &lt;andreas@rammhold.de&gt;
</content>
</entry>
<entry>
<title>test: standardize argument order to test_expect_equal_file</title>
<updated>2017-04-06T17:37:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-04-05T00:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec3937b5cd2884504d5536dc8631a15fd506050b'/>
<id>urn:sha1:ec3937b5cd2884504d5536dc8631a15fd506050b</id>
<content type='text'>
It is annoying to debug failing tests when the interpretation of the
diffs is reversed for some tests.
</content>
</entry>
<entry>
<title>bindings/python: test python Database.get_revision ()</title>
<updated>2017-03-09T14:21:02Z</updated>
<author>
<name>Gaute Hope</name>
<email>eg@gaute.vetsj.com</email>
</author>
<published>2017-03-09T13:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1b5c6b2dea02a0dcc321008f8903aa84e70007a1'/>
<id>urn:sha1:1b5c6b2dea02a0dcc321008f8903aa84e70007a1</id>
<content type='text'>
Here is a test for Database.get_revision (), based on
the first part of T570-revision-tracking.sh.
</content>
</entry>
<entry>
<title>test: make script exit (1) if it "fails" to source (.) a file</title>
<updated>2015-08-07T19:56:39Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-06T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a2eeb427d6b424029f6e5e5ddad4c6ec987741'/>
<id>urn:sha1:02a2eeb427d6b424029f6e5e5ddad4c6ec987741</id>
<content type='text'>
The files (test) scripts source (with builtin command `.`) provides
information which the scripts depend, and without the `source` to
succeed allowing script to continue may lead to dangerous situations
(e.g. rm -rf "${undefined_variable}"/*).

At the end of all source (.) lines construct ' || exit 1' was added;
In our case the script script will exit if it cannot find (or read) the
file to be sourced. Additionally script would also exits if the last
command of the sourced file exited nonzero.
</content>
</entry>
<entry>
<title>test: use the python interpreter in sh.config</title>
<updated>2015-08-04T07:19:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-08-02T06:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=23d86773b9e1b8111921af94f7f14ea0867eaee2'/>
<id>urn:sha1:23d86773b9e1b8111921af94f7f14ea0867eaee2</id>
<content type='text'>
The configure script chooses "python" if both python and python{2,3}
exist exists, so this could change the version of python used to run
the test suite.

The checking for ${NOTMUCH_PYTHON} in the test suite is arguably
over-engineering, since the configure step will fail if it can't find
it.
</content>
</entry>
</feed>
