Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_parse_directory_response():
nose.tools.eq_(
aioftp.Client.parse_directory_response('foo "baz "" test nop" """""fdfs """'),
pathlib.PurePosixPath('baz " test nop'),
)
def test_parse_directory_response():
s = 'foo "baz "" test nop" """""fdfs """'
parsed = aioftp.Client.parse_directory_response(s)
assert parsed == pathlib.PurePosixPath('baz " test nop')