Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Alex Willmer e3b700b553 tests: Fix no such option -o running FakeSsh.test_okay()
Full output of failed test

```
ERROR: test_okay (__main__.FakeSshTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/ssh_test.py", line 16, in test_okay
    ssh_path=testlib.data_path('fakessh.py'),
  File "/home/alex/src/mitogen/mitogen/master.py", line 650, in ssh
    return self.connect('ssh', **kwargs)
  File "/home/alex/src/mitogen/mitogen/parent.py", line 463, in connect
    return self._connect(context_id, klass, name=name, **kwargs)
  File "/home/alex/src/mitogen/mitogen/parent.py", line 449, in _connect
    stream.connect()
  File "/home/alex/src/mitogen/mitogen/ssh.py", line 104, in connect
    super(Stream, self).connect()
  File "/home/alex/src/mitogen/mitogen/parent.py", line 395, in connect
    self._connect_bootstrap()
  File "/home/alex/src/mitogen/mitogen/ssh.py", line 116, in
_connect_bootstrap
    time.time() + 10.0):
  File "/home/alex/src/mitogen/mitogen/parent.py", line 207, in
iter_read
    (''.join(bits)[-300:],)
mitogen.core.StreamError: EOF on stream; last 300 bytes received:
'Usage: fakessh.py [options]\n\nfakessh.py: error: no such option: -o\n'
```
7 years ago
ansible_mitogen issue #141: copy Ansible's connect_timeout for sudo too. 7 years ago
docs tests: Add Tox config for Python 2.6 and 2.7 7 years ago
examples issue #140: import reproduction 7 years ago
mitogen issue #141: unify connect deadline handling 7 years ago
tests tests: Fix no such option -o running FakeSsh.test_okay() 7 years ago
.gitignore Some gitignore extras 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml Remove overall build timeout from .travis.yml. 7 years ago
LICENSE Add license text everywhere. 7 years ago
README.md README: move testing bits into tests directory. 7 years ago
dev_requirements.txt tests: Add Tox config for Python 2.6 and 2.7 7 years ago
preamble_size.py docs: fix preamble_size.py after whitelist changes 7 years ago
setup.cfg Initial flake8 configuration. 7 years ago
setup.py setup: Scan project dir to find packages 7 years ago
test.sh tests: Find all *_test.py scripts and run them 7 years ago
tox.ini tests: Add Tox config for Python 2.6 and 2.7 7 years ago

README.md