docker-py/tests/unit
Joffrey F f302756599 Rewrite utils.parse_host to detect more invalid addresses.
The method now uses parsing methods from urllib to better split provided URLs.
Addresses containing query strings, parameters, passwords or fragments no longer fail silently.
SSH addresses containing paths are no longer accepted.

Signed-off-by: Joffrey F <joffrey@docker.com>
2018-11-01 15:44:43 -07:00
..
testdata/certs Reorganize test directories 2015-10-21 16:02:09 -07:00
__init__.py Reorganize test directories 2015-10-21 16:02:09 -07:00
api_build_test.py Refuse API version < 1.21 ; Remove associated code paths 2018-01-31 14:42:01 -08:00
api_container_test.py Total timeout should be HTTP timeout + operation timeout 2018-04-25 15:31:26 -07:00
api_exec_test.py Use pytest asserts 2018-01-30 14:26:24 -08:00
api_image_test.py Refuse API version < 1.21 ; Remove associated code paths 2018-01-31 14:42:01 -08:00
api_network_test.py Refuse API version < 1.21 ; Remove associated code paths 2018-01-31 14:42:01 -08:00
api_test.py Allow passing of env overrides to credstore through APIClient ctor 2018-06-08 15:43:58 -07:00
api_volume_test.py Refuse API version < 1.21 ; Remove associated code paths 2018-01-31 14:42:01 -08:00
auth_test.py Fix support for legacy .dockercfg auth config format 2018-06-27 17:04:32 -07:00
client_test.py Use pytest asserts 2018-01-30 14:26:24 -08:00
dockertypes_test.py Add support for `uts_mode` parameter in `Client.create_host_config`. 2018-06-29 14:54:49 +02:00
errors_test.py fixes create_api_error_from_http_exception() 2017-12-18 17:15:48 +02:00
fake_api.py Workaround requests resolving our unix socket URL on macosx. 2018-02-26 14:47:26 +01:00
fake_api_client.py Add ignore_removed param to containers.list() to control whether to 2018-04-25 17:18:26 -07:00
fake_stat.py Reorganize test directories 2015-10-21 16:02:09 -07:00
models_containers_test.py Add support for `uts_mode` parameter in `Client.create_host_config`. 2018-06-29 14:54:49 +02:00
models_images_test.py Add chunk_size parameter to data downloading methods (export, get_archive, save) 2018-02-14 16:07:19 -08:00
models_networks_test.py Only allow greedy queries on the model 2017-11-21 21:59:11 +00:00
models_resources_test.py Make resources hashable, so that they can be added to `set`s 2016-12-08 12:19:30 -06:00
models_services_test.py Improve placement handling in DockerClient.services.create 2018-08-03 14:04:04 -07:00
ssladapter_test.py Use pytest asserts 2018-01-30 14:26:24 -08:00
swarm_test.py Use pytest asserts 2018-01-30 14:26:24 -08:00
types_containers_test.py Allow user=0 to be passed in create_container 2018-08-02 12:00:55 -07:00
utils_build_test.py On Windows, convert paths to use forward slashes before fnmatch call 2018-06-28 17:11:24 -07:00
utils_config_test.py Improve separation between auth_configs and general_configs 2018-01-30 18:42:38 -08:00
utils_json_stream_test.py Add new user-focused API 2016-11-22 17:05:43 +00:00
utils_test.py Rewrite utils.parse_host to detect more invalid addresses. 2018-11-01 15:44:43 -07:00