mitogen/tests/data/stubs
David Wilson 802de6a8d5 issue #406: clean up DiagLogStream handling and connect() failure.
When Stream.connect() fails, have it just use on_disconnect(). Now there
is a single disconnect cleanup path.

Remove cutpasted DiagLogStream setup/destruction, and move it into the
base class (temporarily), and only manage the lifetime of its underlying
FD via Side.close().  This cures another EBADF failure.
2018-11-04 13:48:34 +00:00
..
README.md tests: import a bunch more random unchecked in pieces. 2018-10-26 09:45:17 +01:00
stub-doas.py issue #406: clean up DiagLogStream handling and connect() failure. 2018-11-04 13:48:34 +00:00
stub-docker.py issue #409: name-prefix stubs so they can be added to PATH 2018-10-31 00:08:33 +00:00
stub-kubectl.py issue #409: add kubectl stub and constructor test. 2018-10-31 00:46:47 +00:00
stub-lxc-attach.py issue #409: more lxc/lxd stub tests, let tests run on vanilla. 2018-10-31 12:41:32 +00:00
stub-lxc-info.py issue #409: add new stub_connections/ test type. 2018-10-31 00:47:47 +00:00
stub-lxc.py issue #409: more lxc/lxd stub tests, let tests run on vanilla. 2018-10-31 12:41:32 +00:00
stub-ssh.py issue #409: name-prefix stubs so they can be added to PATH 2018-10-31 00:08:33 +00:00
stub-sudo.py issue #406: clean up DiagLogStream handling and connect() failure. 2018-11-04 13:48:34 +00:00

README.md

tests/data/stubs/

Dummy implementations of various third party tools that just spawn local Python interpreters. Used to roughly test the tools' associated Mitogen classes.