diff --git a/test/integration/test_webdav.py b/test/integration/test_webdav.py index f238c5d034d..ba4036d8b03 100644 --- a/test/integration/test_webdav.py +++ b/test/integration/test_webdav.py @@ -1,9 +1,7 @@ -# TODO: - -# nginx+webdav in Docker. -# docker run -v /Users/john/workspace/galaxy/test/integration/webdav/data:/media -e WEBDAV_USERNAME=alice -e WEBDAV_PASSWORD=secret1234 -p 7083:7083 jmchilton/webdavdev -# Apache Docker host doesn't work because displayname not set in response. -# docker run -v /Users/john/workspace/galaxy/test/integration/webdav:/var/lib/dav -e AUTH_TYPE=Basic -e USERNAME=alice -e PASSWORD=secret1234 -e LOCATION=/ -p 7083:80 bytemark/webdav +# Before running this test, start nginx+webdav in Docker using following command: +# docker run -v `pwd`/test/integration/webdav/data:/media -e WEBDAV_USERNAME=alice -e WEBDAV_PASSWORD=secret1234 -p 7083:7083 jmchilton/webdavdev +# Apache Docker host (shown next) doesn't work because displayname not set in response. +# docker run -v `pwd`/test/integration/webdav:/var/lib/dav -e AUTH_TYPE=Basic -e USERNAME=alice -e PASSWORD=secret1234 -e LOCATION=/ -p 7083:80 bytemark/webdav import os diff --git a/test/unit/files/webdav.py b/test/unit/files/webdav.py index baecac9c06b..01b37522ff2 100644 --- a/test/unit/files/webdav.py +++ b/test/unit/files/webdav.py @@ -1,3 +1,5 @@ +# docker run -v `pwd`/test/integration/webdav/data:/media -e WEBDAV_USERNAME=alice -e WEBDAV_PASSWORD=secret1234 -p 7083:7083 jmchilton/webdavdev +# GALAXY_TEST_WEBDAV=1 pytest test/unit/files/webdav.py import os import pytest