Commit Graph

26 Commits

Author SHA1 Message Date
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.
2017-09-17 21:09:03 +05:30
David Wilson cffaa92fc4 Add rsync and git to build_docker_image too. 2017-09-17 21:07:32 +05:30
David Wilson a89c20e54e Fixup some more tests. 2017-09-17 20:33:43 +05:30
David Wilson cf506dfdf2 First handful of functional tests for SSH against Docker. 2017-09-17 18:11:48 +05:30
David Wilson 22c9f82c46 Import Docker build script for integration tests 2017-09-17 17:30:48 +05:30
David Wilson bc437733e5 Working DockerMixin for tests. 2017-09-17 05:27:33 +05:30
David Wilson 1627164165 fix unbelievably dumb variable shadowing 2017-09-17 05:25:30 +05:30
David Wilson 6e3f0702a3 A few more mitogen.slave/master changes 2017-09-17 04:22:57 +05:30
David Wilson 8f08aa4fc8 Tidy up test. 2017-09-16 20:00:57 +05:30
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.
2017-09-16 19:57:16 +05:30
David Wilson ef86b68dcd Import random old test scripts into tests/ dir. 2017-09-16 15:36:08 +05:30
David Wilson 1888c5c660 Add some broken tests 2017-09-16 15:34:55 +05:30
David Wilson 4e51f516a6 Add call_function_test, fix various exception bugs. 2017-09-16 15:27:30 +05:30
David Wilson 10c0dca24c Apply package rename to tests 2017-09-16 12:45:25 +05:30
David Wilson 4de557d304 Somre more basic tests. 2016-08-26 20:10:25 +01:00
David Wilson ba85638c78 Module __file__ fixes. 2016-08-26 19:38:15 +01:00
David Wilson 2e675c47a1 Beginnings of Django integration test project/app. 2016-08-26 19:36:34 +01:00
David Wilson 3535e45245 Broken SSH unit test. 2016-08-26 19:35:09 +01:00
David Wilson ff903b1bcd Rearrange docs, split connection methods into submodules. 2016-08-19 15:16:31 +01:00
David Wilson 481ae1a933 Implement Importer.get_filename() and Importer.get_source()
Optional importer protocols required for Python to display annotated
tracebacks.
2016-08-18 17:12:43 +01:00
David Wilson 9e68408597 Draft importer tests. 2016-08-17 14:24:26 +01:00
David Wilson 799cd173c6 One more test case. 2016-08-17 12:11:26 +01:00
David Wilson 301972bc57 Restructure module importer to cope with Ansible. 2016-08-17 12:05:52 +01:00
David Wilson 66f92ad44c Initial couple of tests. 2016-08-17 10:32:50 +01:00
David Wilson d573340d5f Remove old draft test. 2016-08-17 10:25:21 +01:00
David Wilson e1236f857a Perms, move tests 2016-08-13 22:03:54 +01:00