Skip to content

Binary file not handled correctly by is_dirΒ #23

@taebow

Description

@taebow

https://github.com/ulope/pytest-sftpserver/blob/master/pytest_sftpserver/sftp/content_provider.py#L66

def is_dir(self, path):
    return not isinstance(self.get(path), string_types + integer_types)

It should include has well bytes type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions