mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
remote: HTTP implemented (support only for downloading) (#1350)
* remote: HTTP implemented (support only for downloading) * Remove duplicated content in the schema * Chomp trailing spaces in test_remote * remote http: Implement pull/fetch * add some tests * Update dvc/remote/http.py Co-Authored-By: mroutis <[email protected]> * Update dvc/remote/http.py Co-Authored-By: mroutis <[email protected]> * correct test * rehprase error message * add __init__ for utils * try to fix windows test
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
f3f5837e20
commit
1e3d752917
@@ -11,7 +11,7 @@ import platform
|
||||
from dvc.main import main
|
||||
from dvc.config import Config, ConfigError
|
||||
from dvc.data_cloud import (DataCloud, RemoteS3, RemoteGS, RemoteAzure,
|
||||
RemoteLOCAL, RemoteSSH, RemoteHDFS)
|
||||
RemoteLOCAL, RemoteSSH, RemoteHDFS, RemoteHTTP)
|
||||
from dvc.remote.base import STATUS_OK, STATUS_NEW, STATUS_DELETED
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
@@ -163,6 +163,7 @@ class TestDataCloud(TestDvc):
|
||||
clist = [('s3://mybucket/', RemoteS3),
|
||||
('gs://mybucket/', RemoteGS),
|
||||
('ssh://user@localhost:/', RemoteSSH),
|
||||
('http://localhost:8000/', RemoteHTTP),
|
||||
(TestDvc.mkdtemp(), RemoteLOCAL)]
|
||||
|
||||
if _should_test_azure():
|
||||
|
||||
Reference in New Issue
Block a user