David Wilson
f01e457d70
Allow running without py.test.
7 years ago
David Wilson
750e9fab24
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
1411790f56
master: make write_all() handle O_NONBLOCK and deadlines.
7 years ago
David Wilson
db225638f0
core: Make iter_read() handle deadline (and non-blocking IO) properly
7 years ago
David Wilson
3c8c1f71a6
Update test.
7 years ago
David Wilson
5dff221842
fakessh: cleanup master test.
7 years ago
David Wilson
c67119501b
Keep allocate_id() in the enhanced router class.
7 years ago
David Wilson
4720eb1c55
core: add ALLOCATE_ID message for fakessh.
7 years ago
David Wilson
502266f115
Fix Channel constructor and add simple test; closes #32
7 years ago
David Wilson
3a0f03183c
Simple working fakessh_test.
7 years ago
David Wilson
498f961488
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
f04a503caa
Add rsync and git to build_docker_image too.
7 years ago
David Wilson
e2d3ac9b6a
Fixup some more tests.
7 years ago
David Wilson
2736592c79
First handful of functional tests for SSH against Docker.
7 years ago
David Wilson
91ff12f8d8
Import Docker build script for integration tests
7 years ago
David Wilson
b51e41edb5
Working DockerMixin for tests.
7 years ago
David Wilson
1f99dcb435
fix unbelievably dumb variable shadowing
7 years ago
David Wilson
25e4724bac
A few more mitogen.slave/master changes
7 years ago
David Wilson
bdf4fcfbce
Tidy up test.
7 years ago
David Wilson
be9e55fe8c
pickle: support Context(), use same unpickler everywhere.
...
* Support passing Context() objects in function calls and return values.
Now the fakessh demo from the documentation index would work
correctly.
* Since slaves can communicate with each other now, they should also use
the same approach to unpickling as the master already used. Collapse
away all the unpickle extension crap and hard-wire just the 3 types
that support unpickling.
7 years ago
David Wilson
92ae866271
Import random old test scripts into tests/ dir.
7 years ago
David Wilson
996d847731
Add some broken tests
7 years ago
David Wilson
e75f1d8579
Add call_function_test, fix various exception bugs.
7 years ago
David Wilson
e7ff6259a3
Initial commit.
7 years ago