[Debian-med-packaging] Bug#732945: Debian-Bug#732945: python-csb autopkg test always fails

Ivan Kalev ivan.kalev at gmail.com
Fri Dec 27 22:07:57 UTC 2013


Hi Andreas,

Here is an alternative solution: in version 1.2.2 you can override the
default cache directory with -g:

  $ python csb/test/app.py --generated-resources /tmp

What do you think? Version 1.2.2 can be downloaded from PyPI or CodePlex

Best regards,
Ivan
On Dec 25, 2013 10:02 AM, "Andreas Tille" <andreas at an3as.eu> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20131227/e349ee08/attachment-0001.html>


More information about the Debian-med-packaging mailing list