Changeset 1510:d0f1e9066ef9


Ignore:
Timestamp:
Jun 7, 2014, 10:32:11 AM (7 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Added docstring with file system tree to `TestWalk`.

This way it's easier to understand whether the tests contain the
correct expected results.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_real_ftp.py

    r1509 r1510  
    306306
    307307class TestWalk(RealFTPTest):
     308    """
     309    Walk the directory tree
     310
     311      walk_test
     312      ├── dir1
     313      │   ├── dir11
     314      │   └── dir12
     315      │       ├── dir123
     316      │       │   └── file1234
     317      │       ├── file121
     318      │       └── file122
     319      ├── dir2
     320      ├── dir3
     321      │   ├── dir31
     322      │   ├── dir32 -> ../dir1/dir12/dir123
     323      │   ├── file31
     324      │   └── file32
     325      └── file4
     326
     327    and check if the results are the expected ones.
     328    """
    308329
    309330    def _walk_test(self, expected_result, **walk_kwargs):
Note: See TracChangeset for help on using the changeset viewer.