You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests
Alex Willmer 8dcfb1b7f7 testlib: Auto negotiate Docker API version
Ubuntu 17.04 provides Docker 1.12.6, which has API version 1.24.
`dev_requirements.txt` specifies the docker-py 2.5.1, which by default
requests API version 1.30.

Hence when the SSH unit tests try to run the container specified in
`DockerizedSshDaemon` an error occurs

```
APIError: 400 Client Error: Bad Request ("client is newer than server
(client API version: 1.30, server API version: 1.24)")
```
7 years ago
..
data Beginnings of module_finder_test 7 years ago
README.md Add README.md to tests subdir. 7 years ago
build_docker_image.py Add rsync and git to build_docker_image too. 7 years ago
call_function_test.py core: More robust shutdown 7 years ago
channel_test.py Fix importer_test constructor signature. 7 years ago
fakessh_test.py tests: stop fakessh spamming the logs 7 years ago
id_allocation_test.py Fix importer_test constructor signature. 7 years ago
importer_test.py Fix importer_test constructor signature. 7 years ago
local_test.py Fix context naming for sudo and via=. 7 years ago
master_test.py Simple scan_code_imports test. 7 years ago
module_finder_test.py importer: Delete _get_module_via_parent entirely 7 years ago
nested_test.py frameworkize nested_test. 7 years ago
responder_test.py tests: stop responder_test spamming the logs 7 years ago
select_test.py receiver: only permit one notify callback 7 years ago
ssh_test.py ssh_test: Correct hostname in SShTest.test_stream_name() 7 years ago
testlib.py testlib: Auto negotiate Docker API version 7 years ago
utils_test.py Let utils_test run directly too. 7 years ago

README.md

Warning

This directory is full of disorganized crap, including random hacks I checked in that I'd like to turn into tests. The effort to write tests only really started in September 2017. Pull requests in this area are very welcome!