Ignore:
Timestamp:
Jul 28, 2013, 9:54:28 AM (6 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Added umlaut directory/file/link entries for en/decoding tests.

For example, `FTPHost.path.exists` should accept both bytes and
unicode string types.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mock_ftplib.py

    r1246 r1264  
     1# encoding: utf-8
    12# Copyright (C) 2003-2013, Stefan Schwarzer <sschwarzer@sschwarzer.net>
    23# See the file LICENSE for licensing terms.
     
    226227-rw-r--r--   1 45854    200          4604 Jan 19 23:11 file with spaces""",
    227228
     229      '/home/file_name_test': """\
     230-rw-r--r--   1 45854    200          4604 Jan 19 23:11 ä
     231drwxr-sr-x   2 45854    200           512 May 29  2000 ö
     232lrwxrwxrwx   2 45854    200             6 May 29  2000 ü -> ä""",
     233
    228234      # Fail when trying to write to this directory (the content isn't
    229235      # relevant).
Note: See TracChangeset for help on using the changeset viewer.