From 2a2541c3b857984852456af6e058dc4f53a6fea8 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 28 Dec 2023 05:56:42 +0200 Subject: [PATCH] tests: add placeholders for unlink/rmdir --- dvc_ssh/tests/cloud.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dvc_ssh/tests/cloud.py b/dvc_ssh/tests/cloud.py index c91f5aa..3c449ae 100644 --- a/dvc_ssh/tests/cloud.py +++ b/dvc_ssh/tests/cloud.py @@ -59,6 +59,12 @@ def read_bytes(self): with self._ssh.open(self.path, "rb") as fobj: return fobj.read() + def unlink(self, missing_ok: bool = False) -> None: + raise NotImplementedError + + def rmdir(self, recursive: bool = True) -> None: + raise NotImplementedError + @property def fs_path(self): return self.path