Ignore:
Timestamp:
Oct 5, 2013, 1:53:12 PM (6 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Define instance attributes in constructor.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mock_ftplib.py

    r1439 r1440  
    4848        global mock_files
    4949        mock_files[path] = self
     50        self._value_after_close = ""
    5051        self._super = super(MockFile, self)
    5152        self._super.__init__(content)
     
    107108    def __init__(self, host="", user="", password=""):
    108109        self.closed = 0
     110        # Cached directory.
     111        self.current_dir = None
    109112        # Count successful `transfercmd` invocations to ensure that
    110113        # each has a corresponding `voidresp`.
Note: See TracChangeset for help on using the changeset viewer.