mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
* Refactor check_requires, move UI messages to dvc.cli * Refactor link related error
11 lines
297 B
Python
11 lines
297 B
Python
import pytest
|
|
|
|
from dvc.fs import FileSystem, RemoteMissingDepsError
|
|
|
|
|
|
def test_missing_deps(mocker):
|
|
requires = {"missing": "missing"}
|
|
mocker.patch.object(FileSystem, "REQUIRES", requires)
|
|
with pytest.raises(RemoteMissingDepsError, match="missing dependencies"):
|
|
FileSystem()
|