Paweł Redzyński
5b737a0a0b
imp_url: make default stage fname accompany import target ( #3312 )
2020-02-14 17:05:08 +02:00
Paweł Redzyński
48f8f2402a
import-url: test: prevent in-repo testing
2020-01-23 12:40:21 +01:00
Fábio Santos
fc92266114
address comments
2020-01-22 17:31:46 +00:00
Fábio Santos
e41aa00c20
convert tests to pytest function tests
2020-01-22 14:04:52 +00:00
Fábio Santos
bdf665a34a
don't use patch.object()
2020-01-21 20:52:48 +00:00
Fábio Santos
5dfcda54f9
tests: replace spy() with pytest-mock spy
...
Fixes #3198
2020-01-21 14:47:49 +00:00
Ruslan Kuprieiev
095464d851
Merge pull request #3093 from iterative/move-fs-utilities
...
Move fs utilities to fs.py from __init__.py
2020-01-09 17:25:58 +02:00
Paweł Redzyński and Ruslan Kuprieiev
ad1450635b
Update tests/func/test_import_url.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2020-01-09 10:00:02 +01:00
Aman Sharma
eca5d2dde4
Move makedirs to fs.py
2020-01-09 04:30:51 +05:30
Paweł Redzyński and Ruslan Kuprieiev
b9e700105e
Update tests/func/test_import_url.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2020-01-08 22:21:02 +01:00
Paweł Redzyński and Ruslan Kuprieiev
7e12c7104d
Update tests/func/test_import_url.py
...
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
2020-01-08 22:20:50 +01:00
pawel
62d6f4dbdb
import url: test: migrate to dir helpers
2020-01-08 10:30:33 +01:00
Mr. Outis
fd82402d34
py3: use new magic from PEP 3135
2020-01-02 16:24:31 -06:00
Mr. Outis
6d36b85736
py3: remove string compat related code
2019-12-30 23:49:19 -06:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Ruslan Kuprieiev
0bfb3c0ab2
get/import/url: handle existing output directory ( #2610 )
...
* get/import/url: handle existing output directory
Currently if you run
```
dvc get https://github.com/iterative/example-get-started model.pkl --out .
```
it will nuke your cwd. To fix that we need to properly handle existing
directories, same as usual unix cli utilities do that.
* travis: specify python version when installing from chocolatey
Fixes #2609
2019-10-15 22:42:52 +03:00
Alexander Schepanovski
db19957b8a
Download refactor ( #2275 )
...
* remote: drop not working http resume
Closes #2136
* remote: drop @transfer_context()
It is not needed for ssh anymore and GS/S3 are switched to client
instances in cached properties.
* remote: drop upload/download chunking
2019-07-16 16:27:44 +03:00
Ruslan Kuprieiev
e215364e6d
test: http: use random port ( #2269 )
...
Fixes #1878
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-15 13:18:10 +03:00
Ruslan Kuprieiev
94fe86afe8
tests: import-url: rewrite and move error msg test ( #2262 )
...
This one was failing randomly.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-07-14 03:09:08 +03:00
Paweł Redzyński
217f2c4dbd
imp_url: normalize path for default out name ( #2248 )
2019-07-12 09:20:47 +03:00
Ruslan Kuprieiev
1ba8e0171d
dvc: replace pkg concept with external repo
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-21 01:16:00 +03:00