Commit Graph

438 Commits

Author SHA1 Message Date
David Wilson 4632c73a72 More. 2017-10-05 19:06:25 +05:30
David Wilson d00821be89 docs: way more appropriate image 2017-10-05 19:01:09 +05:30
David Wilson 6792893666 docs: more getting started 2017-10-05 18:43:12 +05:30
David Wilson 2d6b004fa0 docs: Getting started tidyups 2017-10-05 17:49:20 +05:30
David Wilson dddaa29526 docs: Get started on Getting Started 2017-10-05 17:09:59 +05:30
David Wilson b6552bb594 core: Remove unused on_shutdown attribute. 2017-10-05 15:12:18 +05:30
David Wilson dc6ed860f7 docs: fix reference to with: 2017-10-05 14:27:26 +05:30
David Wilson 320191cae2 docs: move fakessh docs into Sphinx. 2017-10-05 14:25:32 +05:30
David Wilson 2830304407 docs: move mitogen.utils docs to Sphinx. 2017-10-05 14:10:18 +05:30
David Wilson b56f848cc6 docs: fix decorator types. 2017-10-05 14:05:10 +05:30
David Wilson 2bda6ee70c docs: better io_op doc, move Side docs to Sphinx. 2017-10-05 14:02:55 +05:30
David Wilson 15492adabc docs: move BasicStream docs into Sphinx. 2017-10-05 13:48:32 +05:30
David Wilson 397ff50a58 Try to be compatible with older Docker daemons; (hopefully) closes #46 2017-10-05 05:03:57 +05:30
dw 5bdf7641df Merge pull request #45 from moreati/pytest-catchlog
Fix "hook uses deprecated __multicall__ argument" warning
2017-10-05 04:12:20 +05:30
Alex Willmer 761ac47dfe Fix "hook uses deprecated __multicall__ argument" warning
By replacing pytest-capturelog with pytest-catchlog we fix one warning
that is reported by pytest:

```
venv/local/lib/python2.7/site-packages/pytest_capturelog.py:171
'pytest_runtest_makereport' hook uses deprecated __multicall__
argument

None
pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__"
prefix is deprecated and scheduled to be removed in pytest 4.0.  Please
remove the prefix and use the @pytest.fixture decorator instead.
pytest_funcarg__capturelog: declaring fixtures using
"pytest_funcarg__" prefix is deprecated and scheduled to be removed in
pytest 4.0.  Please remove the prefix and use the @pytest.fixture
decorator instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
```

pytest-capturelog seems to be unmaintained, the bug in question
<https://bitbucket.org/memedough/pytest-capturelog/issues/6> has been
open since July 2015. pytest-catchlog is a fork of pytest-capturelog.
2017-10-04 23:30:23 +01:00
David Wilson ba9e129848 mitop: more dead code 2017-10-05 01:16:04 +05:30
David Wilson 12c1beed10 More dead code, some comments. 2017-10-05 01:04:08 +05:30
David Wilson 4a08055352 mitop: Remove dead code 2017-10-05 01:00:16 +05:30
David Wilson d659a57d97 mitop: Remove dead code 2017-10-05 00:59:14 +05:30
David Wilson 29297643ff Import mitop example script. 2017-10-05 00:52:42 +05:30
David Wilson 8439e889ed core: More robust shutdown
Now there is a separate SHUTDOWN message that relies only on being
received by the broker thread, the main thread can be hung horribly and
the process will still eventually receive a SIGTERM.
2017-10-03 16:35:12 +05:30
David Wilson 1784f3c83a Add test that hangs the main thread during shutdown. 2017-10-03 16:09:35 +05:30
David Wilson fa9def91f2 Implement test_aborted_on_local_context_disconnect 2017-10-03 15:54:55 +05:30
David Wilson 1f607a6292 Fix lnik. 2017-10-02 17:32:53 +05:30
David Wilson f1dab5fd66 Add build icon to README 2017-10-02 15:28:50 +05:30
David Wilson e3b51de6b1 Handle docker running on localhost. 2017-10-02 15:22:00 +05:30
David Wilson 21b65e61af Bare minimum .travis.yml. 2017-10-02 15:09:32 +05:30
David Wilson d7c15859bf Let utils_test run directly too. 2017-10-02 14:36:36 +05:30
David Wilson eac5daf28d Fix select_test failure, remove crap old timing_test. 2017-10-02 14:35:27 +05:30
David Wilson 291a44dc34 Remove proxy_test (duplicates sudo_test) 2017-10-02 13:56:33 +05:30
David Wilson 1f73c32d4c frameworkize nested_test. 2017-10-02 13:56:02 +05:30
David Wilson eb6afee514 Beginnings of module_finder_test 2017-10-02 13:54:01 +05:30
David Wilson fccf1b1cab Fix importer_test constructor signature. 2017-10-01 15:30:43 +05:30
David Wilson e6795a5c43 core: loosen assertion to allow fakessh_test to succeed. 2017-10-01 15:29:04 +05:30
David Wilson 2ed39c411f Allow call_function_test to succeed depite testlib import. 2017-09-30 20:58:05 +05:30
David Wilson 2659cf0ae0 Use enhanced assertRaises in call_function_test.py. 2017-09-30 20:57:14 +05:30
David Wilson b0e13fefdd Fix 2 call_function_test failures. 2017-09-30 15:09:05 +05:30
David Wilson 0e51aa5cd9 master: hack to avoid executing __main__. 2017-09-30 15:03:28 +05:30
David Wilson 909937cc21 Simple scan_code_imports test. 2017-09-30 13:55:41 +05:30
David Wilson 5a71c38fdc We don't support sets, so don't use them in module loader(!) 2017-09-29 20:57:47 +05:30
David Wilson c9e3fbb483 add missing IOLOG, fixes _iter_read/SshTest. 2017-09-29 20:56:53 +05:30
David Wilson 88c82aff6a docs: Fix index generation everywhere. 2017-09-29 20:22:43 +05:30
David Wilson 5584dba441 master: include related modules in ModuleResponder response 2017-09-29 16:40:16 +05:30
David Wilson a18ca0f208 iter_read: also treat 0-byte read as disconnection 2017-09-29 16:38:59 +05:30
David Wilson 46c361d4e1 select: fix typo 2017-09-29 16:38:14 +05:30
David Wilson f57a12b3f9 Fix context naming for sudo and via=. 2017-09-29 16:04:09 +05:30
David Wilson 8fec1f985e docs: remove note, unpickling can no longer trigger module loads 2017-09-29 15:50:53 +05:30
David Wilson 2d2d547a1c docs: s/random/pseudorandom/ 2017-09-29 15:48:03 +05:30
David Wilson a71c9fd128 docs: fix pickler docs, begin relabelling master/slave->parent/child 2017-09-29 14:20:22 +05:30
David Wilson abf1aa33dd docs: remove final references to call_with_deadline(). 2017-09-29 14:15:22 +05:30