summaryrefslogtreecommitdiff
path: root/tests/unit/utils_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Never exclude Dockerfile from the build context.926-ignored_dockerfilesJoffrey F2016-02-091-5/+17
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #920 from docker/ssl_version_simplerJoffrey F2016-02-051-0/+17
|\ | | | | Remove obsolete SSL version computation
| * Remove obsolete SSL version computationssl_version_simplerJoffrey F2016-02-031-0/+17
| | | | | | | | | | | | | | | | Recent versions of urllib3 (including the one packaged by requests) will automatically reject SSLv2/3. Additional test to check urllib3's behavior (mostly for release/packaging) Signed-off-by: Joffrey F <joffrey@docker.com>
* | Re-write kwargs_from_env to handle TLS options betterMike Dougherty2016-02-041-4/+51
| | | | | | | | | | | | | | | | This more closely matches the way the docker client interprets the relevant environment variables. Among other things, it's now possible to set DOCKER_TLS_VERIFY=false. Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
* | Add support for shm_size.Spencer Rinehart2016-02-041-0/+8
|/ | | | | | | --shm-size was added to Docker in 1.10 via docker/docker#16168. See docker/compose#2823 for more details. Signed-off-by: Spencer Rinehart <anubis@overthemonkey.com>
* Support unspecified protocol in base_url when using TLS894-docker_host_envJoffrey F2016-01-281-0/+5
| | | | | | (assume HTTPS) Signed-off-by: Joffrey F <joffrey@docker.com>
* parse_bytes: Add ability to handle 64-bit integers in py2Joffrey F2016-01-181-5/+20
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve host devices supportJoffrey F2016-01-181-1/+60
| | | | | | | | Add unit tests for utils.parse_devices Rewrite documentation Support dict and string format for device declaration Signed-off-by: Joffrey F <joffrey@docker.com>
* Normalise/fix networking API JSON keysAanand Prasad2016-01-181-6/+6
| | | | | | | - Use CamelCase - `auxaddresses` -> `AuxiliaryAddresses` Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Implement support for network-scoped aliasesAanand Prasad2016-01-141-1/+9
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* allow custom ipam options when creating networksRyan Belgrave2016-01-041-1/+16
| | | | Signed-off-by: Ryan Belgrave <rmb1993@gmail.com>
* Improve get_paths performance by not descending into ignored directoriesThomas Boyt2015-12-081-3/+3
| | | | Signed-off-by: Thomas Boyt <thomas@ledgerx.com>
* Add tests for new cases covered by parse_repository_tag860-deprecate-resolve-repo-nameJoffrey F2015-11-241-14/+46
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* create_host_config: allow setting oom_kill_disableMichael Schubert2015-11-101-1/+8
| | | | Signed-off-by: Michael Schubert <schu@schu.io>
* Fix py3.2 test failure and unicode behaviorJoffrey F2015-10-271-5/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support unicode commands.Daniel Nephin2015-10-261-1/+14
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Reorganize test directoriesreorganize_testsJoffrey F2015-10-211-0/+716
More clearly separate unit and integration tests Allow splitting into multiple files Cleaner Signed-off-by: Joffrey F <joffrey@docker.com>