Add webdav container
This commit is contained in:
parent
c238c281dd
commit
64a3b66efb
3 changed files with 13 additions and 3 deletions
10
.travis.yml
10
.travis.yml
|
@ -1,6 +1,16 @@
|
|||
language: python
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
before_install:
|
||||
- docker pull bytemark/webdav
|
||||
- docker run -d --name webdav -e AUTH_TYPE=Basic -e USERNAME=alice -e PASSWORD=secret1234 -p 8585:80 bytemark/webdav
|
||||
- docker ps -a
|
||||
|
||||
install:
|
||||
- python setup.py develop
|
||||
script:
|
||||
|
|
|
@ -20,9 +20,9 @@ class ClientTestCase(TestCase):
|
|||
|
||||
def setUp(self):
|
||||
options = {
|
||||
'webdav_hostname': 'https://webdav.yandex.ru',
|
||||
'webdav_login': 'webdavclient.test2',
|
||||
'webdav_password': 'Qwerty123!'
|
||||
'webdav_hostname': 'http://localhost:8585',
|
||||
'webdav_login': 'alice',
|
||||
'webdav_password': 'secret1234'
|
||||
}
|
||||
self.client = Client(options)
|
||||
if path.exists(path=self.local_path_dir):
|
||||
|
|
0
tests/webdav/test_connection.py
Normal file
0
tests/webdav/test_connection.py
Normal file
Loading…
Add table
Reference in a new issue