docker-py/tests/unit
Lucidiot 75ed0ecf5a Add device requests (#2471)
* Add DeviceRequest type

Signed-off-by: Erwan Rouchet <rouchet@teklia.com>

* Add device_requests kwarg in host config

Signed-off-by: Erwan Rouchet <rouchet@teklia.com>

* Add unit test for device requests

Signed-off-by: Erwan Rouchet <rouchet@teklia.com>

* Fix unit test

Signed-off-by: Erwan Rouchet <rouchet@teklia.com>

* Use parentheses for multiline import

Signed-off-by: Erwan Rouchet <rouchet@teklia.com>

* Create 1.40 client for device-requests test

Signed-off-by: Laurie O <laurie_opperman@hotmail.com>

Co-authored-by: Laurie O <laurie_opperman@hotmail.com>
Co-authored-by: Bastien Abadie <abadie@teklia.com>
2020-08-10 18:09:07 +02: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 Modernize auth management 2018-11-28 19:32:01 -08:00
api_container_test.py Add device requests (#2471) 2020-08-10 18:09:07 +02: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 Add support for DriverOpts in EndpointConfig 2020-08-10 18:09:07 +02:00
api_test.py tests: remove outdated code 2019-01-09 11:30:58 -08: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 for empty auth keys in config.json 2019-10-03 15:49:26 +02:00
client_test.py Use pytest asserts 2018-01-30 14:26:24 -08:00
context_test.py Specify when to use `tls` on Context constructor 2020-06-02 15:52:25 +02:00
dockertypes_test.py Update test dependencies to latest version, fix some flake8 errors 2019-01-09 11:18:40 -08:00
errors_test.py Implement context management, lifecycle and unittests. 2020-02-06 10:33:31 +01: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 Move volume_driver to RUN_HOST_CONFIG_KWARGS 2019-03-23 20:57:23 +01:00
models_images_test.py Update DockerClient.images.pull to always stream response 2018-11-28 11:27:04 -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 tests: fix failure due to pytest deprecation 2018-11-21 17:17:50 -08:00
utils_json_stream_test.py Add new user-focused API 2016-11-22 17:05:43 +00:00
utils_proxy_test.py add unit tests for ProxyConfig 2019-01-09 11:30:58 -08:00
utils_test.py Fix base_url to keep TCP protocol 2019-03-26 16:04:06 +01:00