mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 23:09:55 +01:00
16 lines
335 B
Python
16 lines
335 B
Python
import pytest
|
|
|
|
from dvc.config import ConfigError
|
|
from dvc.remote.http import RemoteHTTP
|
|
|
|
|
|
def test_no_traverse_compatibility(dvc_repo):
|
|
config = {
|
|
"url": "http://example.com/",
|
|
"path_info": "file.html",
|
|
"no_traverse": False,
|
|
}
|
|
|
|
with pytest.raises(ConfigError):
|
|
RemoteHTTP(dvc_repo, config)
|