Alex Willmer
a8d216eeab
Update lingering references to with_broker & run_with_broker
...
A previous commit renamed run_with_broker() and with_broker() to
run_with_router() and with_router() respctively. Some references were
missed.
7 years ago
David Wilson
c585f1bc5a
fakessh: Add integration test for inter-child rsync.
7 years ago
David Wilson
5da8dc0cdc
Allow running without py.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
aa5bc53f6d
Update test.
7 years ago
David Wilson
d6d83b3fac
fakessh: cleanup master test.
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
3e020ddd09
Fix Channel constructor and add simple test; closes #32
7 years ago
David Wilson
d9bf091e6f
Simple working fakessh_test.
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
cffaa92fc4
Add rsync and git to build_docker_image too.
7 years ago
David Wilson
a89c20e54e
Fixup some more tests.
7 years ago
David Wilson
cf506dfdf2
First handful of functional tests for SSH against Docker.
7 years ago
David Wilson
22c9f82c46
Import Docker build script for integration tests
7 years ago
David Wilson
bc437733e5
Working DockerMixin for 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
8f08aa4fc8
Tidy up test.
7 years ago
David Wilson
066b39d570
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
ef86b68dcd
Import random old test scripts into tests/ dir.
7 years ago
David Wilson
1888c5c660
Add some broken tests
7 years ago
David Wilson
4e51f516a6
Add call_function_test, fix various exception bugs.
7 years ago
David Wilson
10c0dca24c
Apply package rename to tests
7 years ago
David Wilson
4de557d304
Somre more basic tests.
8 years ago
David Wilson
ba85638c78
Module __file__ fixes.
8 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
481ae1a933
Implement Importer.get_filename() and Importer.get_source()
...
Optional importer protocols required for Python to display annotated
tracebacks.
8 years ago
David Wilson
9e68408597
Draft importer tests.
8 years ago
David Wilson
799cd173c6
One more test case.
8 years ago
David Wilson
301972bc57
Restructure module importer to cope with Ansible.
8 years ago
David Wilson
66f92ad44c
Initial couple of tests.
8 years ago
David Wilson
d573340d5f
Remove old draft test.
8 years ago
David Wilson
e1236f857a
Perms, move tests
8 years ago