Alex Willmer
282862ad49
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.
7 years ago
David Wilson
1faf0b8371
mitop: more dead code
7 years ago
David Wilson
fbe9611942
More dead code, some comments.
7 years ago
David Wilson
70443b44a9
mitop: Remove dead code
7 years ago
David Wilson
fba3eaa6d1
mitop: Remove dead code
7 years ago
David Wilson
271fed0fd6
Import mitop example script.
7 years ago
David Wilson
b7a9aa46cf
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.
7 years ago
David Wilson
32d029ed75
Add test that hangs the main thread during shutdown.
7 years ago
David Wilson
3285fc2f75
Implement test_aborted_on_local_context_disconnect
7 years ago
David Wilson
700db7e532
Fix lnik.
7 years ago
David Wilson
07535ba1f8
Add build icon to README
7 years ago
David Wilson
dfe68b33d6
Handle docker running on localhost.
7 years ago
David Wilson
c58d7f517b
Bare minimum .travis.yml.
7 years ago
David Wilson
bee1a86aa1
Let utils_test run directly too.
7 years ago
David Wilson
690ee6dbe2
Fix select_test failure, remove crap old timing_test.
7 years ago
David Wilson
9c8ff7ecf6
Remove proxy_test (duplicates sudo_test)
7 years ago
David Wilson
f22d05a7ad
frameworkize nested_test.
7 years ago
David Wilson
15bf0f54e2
Beginnings of module_finder_test
7 years ago
David Wilson
d17af194b5
Fix importer_test constructor signature.
7 years ago
David Wilson
2454dcc990
core: loosen assertion to allow fakessh_test to succeed.
7 years ago
David Wilson
bc801bc2ed
Allow call_function_test to succeed depite testlib import.
7 years ago
David Wilson
118fe01be5
Use enhanced assertRaises in call_function_test.py.
7 years ago
David Wilson
9b13a4cc61
Fix 2 call_function_test failures.
7 years ago
David Wilson
79dd00db5a
master: hack to avoid executing __main__.
7 years ago
David Wilson
236d83418c
Simple scan_code_imports test.
7 years ago
David Wilson
6f5d4882da
We don't support sets, so don't use them in module loader(!)
7 years ago
David Wilson
ecd39e4f2a
add missing IOLOG, fixes _iter_read/SshTest.
7 years ago
David Wilson
416ab90e02
docs: Fix index generation everywhere.
7 years ago
David Wilson
451fb347d0
master: include related modules in ModuleResponder response
7 years ago
David Wilson
4af920094a
iter_read: also treat 0-byte read as disconnection
7 years ago
David Wilson
d169b55d64
select: fix typo
7 years ago
David Wilson
af6812b458
Fix context naming for sudo and via=.
7 years ago
David Wilson
976c643f21
docs: remove note, unpickling can no longer trigger module loads
7 years ago
David Wilson
decc9a900c
docs: s/random/pseudorandom/
7 years ago
David Wilson
83f8f1863e
docs: fix pickler docs, begin relabelling master/slave->parent/child
7 years ago
David Wilson
4327baabfa
docs: remove final references to call_with_deadline().
7 years ago
David Wilson
dd69b8feeb
docs: with_context element is replaced by a decorator.
7 years ago
David Wilson
12fe884f1a
Reference Select
7 years ago
David Wilson
a81f804e92
Accidentally hecked in incomplete paragraph.
7 years ago
David Wilson
83e3e1b82a
Typo.
7 years ago
David Wilson
e9af841e60
docs: fix :return: syntax.
7 years ago
David Wilson
f1d82c7284
More API documentation.
7 years ago
David Wilson
9d2a11e70f
Fix function reference.
7 years ago
David Wilson
5772e06368
Typo.
7 years ago
David Wilson
b7f95e558f
Better document Router API and constructors.
7 years ago
David Wilson
815f23bddd
Sense of block= parameter was inverted.
7 years ago
David Wilson
3eb60d777a
Add mitogen.parent_ids to docs.
7 years ago
David Wilson
1449c972eb
Allow running responder_test with unittest.
7 years ago
David Wilson
0c573d0e47
Tidy up select examples even more.
7 years ago
David Wilson
e624295d63
Document channel class
7 years ago