mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fix webdav tests and then add some (#6189)
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
from typing import Any
|
||||
from typing import Any, Dict
|
||||
from unittest.mock import ANY, Mock
|
||||
|
||||
|
||||
def issubset(subset: Dict, superset: Dict) -> bool:
|
||||
assert {**superset, **subset} == superset
|
||||
return True
|
||||
|
||||
|
||||
def called_once_with_subset(m: Mock, *args: Any, **kwargs: Any) -> bool:
|
||||
m.assert_called_once()
|
||||
m_args, m_kwargs = m.call_args
|
||||
|
||||
Reference in New Issue
Block a user