Skip to content

Commit

Permalink
tests: add placeholders for unlink/rmdir
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Dec 28, 2023
1 parent 23f31ec commit 8d7888e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dvc_ssh/tests/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d7888e

Please sign in to comment.