Changeset 1757:480538e14451


Ignore:
Timestamp:
Jan 28, 2019, 7:45:44 PM (3 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Print when a session factory is called

Print when a session factory is called, in other words, when a new
`ScriptedSession` is instantiated. This is very helpful for tests that
involve more than one `ScriptedSession` instance, e. g. tests for the
download/upload functionality.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/scripted_session.py

    r1756 r1757  
    141141    # by the `FTPHost` instance.
    142142    def session_factory(host, user, password):
     143        print("\nCalled session factory\n")
    143144        return ScriptedSession(script)
    144145    return session_factory
Note: See TracChangeset for help on using the changeset viewer.