[Debian-med-packaging] Bug#732945: Debian-Bug#732945: python-csb autopkg test always fails
Andreas Tille
andreas at an3as.eu
Wed Dec 25 10:01:41 UTC 2013
Hi Ivan,
On Wed, Dec 25, 2013 at 08:56:02AM +0000, Ivan Kalev wrote:
> The problem with /var/lib or cache is that it won't work on windows. The
> advantage of ~ is that python resolves it to user's home directory on any
> platform. Transparent portability is somehow essential in csb.
OK, sorry for my *NIX centric view. :-)
> But there are other options as well:
>
> 1) Use a temp directory and setup/teardown the text fixture every time.
>
> 2) Skip some tests at runtime if the resources they depend on are missing.
> These tests are important during development, but not at all essential
> during installation. So it is perfectly okay to skip them.
>
> Both solutions are very easy to implement.
IMHO both solutions sound reasonable for our purpose. I trust you to
pick the better one from your position.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list