[PATCH] tests: create test directories under /tmp/kallithea_tests rather than /tmp
Brianna Laugher
brianna.laugher at gmail.com
Tue May 12 08:28:54 EDT 2015
On 11 May 2015 at 21:28, Thomas De Schampheleire
<patrickdepinguin at gmail.com> wrote:
> You're probably right. I must admit I did not investigate this in detail.
> I think the correct approach is to let nosetests/py.test generate a
> temp directory, and use any facilities in there to avoid them being in
> /tmp directly.
So pytest comes with a built-in fixture for this purpose, called
tmpdir: https://pytest.org/latest/tmpdir.html
cheers
Brianna
--
They've just been waiting in a mountain for the right moment:
http://modernthings.org/
More information about the kallithea-general
mailing list