Bug#754143: Fix the tests to not pollute the data directory
Hi Christophe,
On Fri, 11 Jul 2014, Christophe Siraut wrote:
> The following patch should solve the issues you mention. Only the
> cleanup part remains, I am waiting for your review before doing that.
> Note we override the __call__ method instead of setUp, because the
> latter gets overriden by the tests instances.
I merged an enhanced version of your patch:
commit 400455106e3a434feecabb9766e5d06f33c1dfe2
Author: Christophe Siraut <d@tobald.eu.org>
Date: Sat Jul 12 23:28:52 2014 +0200
test: add TestCase objects that setup temporary directories
[hertzog@debian.org:
- Use a single temporary directory with sub-directories.
- Add more unit tests cases both for SimpleTestCase and TestCase.
]
I'm waiting your patch for the cleanup left to be done.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
Reply to: