mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
16 lines
396 B
Python
16 lines
396 B
Python
from dvc.stage import Stage
|
|
from dvc.dependency import _get, DEP_MAP
|
|
|
|
from tests.test_output import TestOutScheme
|
|
|
|
|
|
class TestDepScheme(TestOutScheme):
|
|
MAP = DEP_MAP
|
|
|
|
TESTS = TestOutScheme.TESTS.copy()
|
|
TESTS["http://example.com/path/to/file"] = "http"
|
|
TESTS["https://example.com/path/to/file"] = "https"
|
|
|
|
def _get(self, path):
|
|
return _get(Stage(self.dvc), path, None)
|