Alex Willmer
7473addfd2
Replace all calls to file() with open()
...
Although these are synonyms in Python 2.x, when using MyPy to typecheck
code use of file() causes spurious errors.
This commit also serves as one small step to Python 3.x compatibility,
since 3.x removes the file() builtin.
7 years ago
David Wilson
eb6afee514
Beginnings of module_finder_test
7 years ago
David Wilson
959af50c1f
Make log_to_file accept string level rather than logging package constant
...
Saves an import, pain in the ass to type all the time.
7 years ago
David Wilson
729356b5f0
master: make write_all() handle O_NONBLOCK and deadlines.
7 years ago
David Wilson
16950a1620
core: Make iter_read() handle deadline (and non-blocking IO) properly
7 years ago
David Wilson
d84b4bf72a
Keep allocate_id() in the enhanced router class.
7 years ago
David Wilson
491b5ab575
core: add ALLOCATE_ID message for fakessh.
7 years ago
David Wilson
bd2c613b9c
Fix up a few more ssh_tests, stop sending 400 modules over network.
...
Defining functions in the current module was causing the entirety of
py.test and all dependencies to be sucked in.
7 years ago
David Wilson
a89c20e54e
Fixup some more tests.
7 years ago
David Wilson
22c9f82c46
Import Docker build script for integration tests
7 years ago
David Wilson
1627164165
fix unbelievably dumb variable shadowing
7 years ago
David Wilson
6e3f0702a3
A few more mitogen.slave/master changes
7 years ago
David Wilson
10c0dca24c
Apply package rename to tests
7 years ago
David Wilson
2e675c47a1
Beginnings of Django integration test project/app.
8 years ago
David Wilson
3535e45245
Broken SSH unit test.
8 years ago
David Wilson
ff903b1bcd
Rearrange docs, split connection methods into submodules.
8 years ago
David Wilson
66f92ad44c
Initial couple of tests.
8 years ago