def test_hosts_stripped_env_hosts():
    def command():
        pass
    myenv = {'hosts': [' foo ', 'bar '], 'roles': [], 'exclude_hosts': []}
    eq_hosts(command, ['foo', 'bar'], env=myenv)
Called when an error occurs.
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_hosts_stripped_env_hosts--crossover with--dataset/ETHPy150Open ncclient/ncclient/ncclient/transport/session.py/SessionListener.errback