I forgot to add the comment.

If you cd to /opt/<fusedav>, it will find ./tests/dav_server

But if you cd to /tmp, for instance, and execute

FUSEDAV_PATH=/sbin/mount.fusedav<something> trial <path>/tests/test_dav.py,
you need to find dav_server somewhere else.


On Wed, Jun 19, 2013 at 2:55 PM, David Strauss <notifications@github.com>wrote:

> In tests/test_dav.py:
>
> >
> >  from sh import cp, mv
> >
> > -from titan.pantheon.tests.lib.dav_server import DavServer, PYWEBDAV_HOST, PYWEBDAV_PORT
> > +try:
> > +    from tests.dav_server import DavServer, PYWEBDAV_HOST, PYWEBDAV_PORT
> > +except:
> > +    from titan.pantheon.tests.lib.dav_server import DavServer, PYWEBDAV_HOST, PYWEBDAV_PORT
>
> Do we need this?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pantheon-systems/fusedav/pull/86/files#r4785179>
> .
>