remote: ssh: support directories

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-04-24 05:09:48 +03:00
parent 00cfb04fea
commit 44b95f23a3
3 changed files with 69 additions and 19 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ def test_isdir(server):
assert isdir is True
def test_file_exists(server):
def test_exists(server):
client = _client(server)
path = "/path/to/file"
file_path = client.file_exists(path=path)
file_path = client.exists(path=path)
assert file_path is False