summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for IPv6 docker host connections.1135-ipv6-docker-hostJoffrey F2016-07-271-1/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Default to npipe address on WindowsAanand Prasad2016-07-261-2/+2
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Send LinkLocalIPs as part of IPAMConfig dictionarycompose-3757-linklocal-fixJoffrey F2016-07-251-0/+21
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add unit testsKeerthan Reddy Mala2016-07-221-0/+26
| | | | Signed-off-by: Keerthan Reddy Mala <kmala@deis.com>
* Set custom user agent on clientBen Firshman2016-07-201-0/+30
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Rename read methods for clarityAanand Prasad2016-07-132-4/+4
| | | | | | | read_socket() is now just read(), because its behaviour is consistent with `os.read` et al. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Rename next_packet_size to next_frame_sizeAanand Prasad2016-07-132-4/+4
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Move socket-reading test helpers into docker.utils.socketAanand Prasad2016-07-133-50/+9
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Mock read_from_socket methodJoffrey F2016-07-131-1/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Read from socket after sending TCP upgrade headers.Joffrey F2016-07-131-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add hijack hints for non-detached exec api callsDavid Gageot2016-07-131-2/+30
| | | | Signed-off-by: David Gageot <david@gageot.net>
* volumes,create: support adding labelsTomas Tomecek2016-07-132-1/+20
| | | | | | Fixes #1102 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* Change double underscore in test case names for _set_auth_headersJustin Michalicek2016-07-121-3/+3
| | | | | | * Change test__set_auth_headers_* methods to test_set_auth_headers_* Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
* Update build unit testsJustin Michalicek2016-07-121-1/+60
| | | | | | | | | | | * Test that the request from build when the client has auth configs contains the correct X-Registry-Config header * Test that BuildApiMixin._set_auth_headers() updates the passed in headers dict with auth data from the client * Test that BuildApiMixin._set_auth_headers() leaves headers dict intact when there is no _auth_config on the client. Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
* Add integration tests for different types of kill signalsJoffrey F2016-06-281-0/+30
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix network aliases test with Engine 1.12signal-strJoffrey F2016-06-281-6/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1066 from yunzhu-li/blkio-controlJoffrey F2016-06-151-0/+19
|\ | | | | Add support for Block IO constraints in HostConfig
| * Add support for Block IO constraints in HostConfigyunzhu-li2016-06-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for Block IO constraint options: - blkio-weight - blkio-weight-device - device-read-bps - device-write-bps - device-read-iops - device-write-iops Signed-off-by: yunzhu-li <contact@yunzhu.li>
* | Merge pull request #1079 from docker/1024-npipe-supportJoffrey F2016-06-141-4/+3
|\ \ | | | | | | npipe support
| * | Update parse_host and testsJoffrey F2016-06-021-4/+3
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add ipv[46]_address params to create_endpoint_config.Joffrey F2016-06-131-1/+60
|/ | | | | | Update networks documentation with exhaustive API docs Signed-off-by: Joffrey F <joffrey@docker.com>
* support Python 3.5Thomas Grainger2016-05-191-51/+19
| | | | Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
* Add support for creating internal networksJonathan Giannuzzi2016-05-181-0/+6
| | | | Signed-off-by: Jonathan Giannuzzi <jonathan@giannuzzi.be>
* Resolve path traversal in .dockerignore patternsAanand Prasad2016-05-161-0/+8
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Don't set socket timeout if it's already disabled when streamingKevin Frommelt2016-05-101-0/+44
| | | | Signed-off-by: Kevin Frommelt <kevin.frommelt@gmail.com>
* Merge pull request #1004 from klj613/allow-equals-character-in-env-fileJoffrey F2016-04-271-0/+8
|\ | | | | makes it possible to have '=' in the env file
| * makes it possible to have '=' in the env fileKristian Lewis Jones2016-03-221-0/+8
| | | | | | | | | | | | note that the docker command line flag --env-file also allows '=' in the env file Signed-off-by: Kristian Lewis Jones <klj613@kristianlewisjones.com>
* | Use backports.ssl_match_hostnameFelix Yan2016-04-081-3/+9
| | | | | | | | | | | | | | | | The py2-ipaddress module unfortunately conflicts with the pypi:ipaddress module, which is in the dependency tree of widely used pyOpenSSL. I think it would be a good idea to use a well maintained backport of the Python 3.5 implementation of match_hostname() instead of duplicating the effort and maintain another. All tests are passing here. Signed-off-by: Felix Yan <felixonmars@archlinux.org>
* | Don't raise InvalidConfigError when auth dict doesn't have an 'auth' keyJoffrey F2016-04-051-3/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Tests for match_hostname backportJoffrey F2016-03-292-17/+73
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Test commit changes paramJoffrey F2016-03-231-0/+14
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'master' of https://github.com/dimaspivak/docker-py into ↵Joffrey F2016-03-231-1/+2
|\ \ | | | | | | | | | dimaspivak-master
| * | Add support for changes param to ContainerApiMixin.commitDima Spivak2016-03-211-1/+2
| |/ | | | | | | | | | | docker commit --changes was added to Docker in 1.6.0. Signed-off-by: Dima Spivak <dima@spivak.ch>
* | Merge branch 'gferon-master'Joffrey F2016-03-231-0/+7
|\ \
| * | check_duplicate testJoffrey F2016-03-231-0/+7
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | gzip build testspeedplane-patch-1Joffrey F2016-03-231-0/+28
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'from_env' of https://github.com/bfirsh/docker-py into ↵Joffrey F2016-03-221-0/+26
|\ \ | | | | | | | | | bfirsh-from_env
| * | Add docker.from_env() shortcutBen Firshman2016-03-151-0/+26
| | | | | | | | | | | | | | | | | | A much neater way of getting started with docker-py. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* | | Support OomScoreAdj in host configurationAditya Marella2016-03-221-0/+10
| | | | | | | | | | | | Signed-off-by: Aditya Marella <aditya.marella@gmail.com>
* | | Support passing an alternate environment dict to kwargs_from_envkwargs_from_env_altJoffrey F2016-03-211-0/+14
| |/ |/| | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Remove the network mode to support linkable cantainers checkwenchma2016-03-211-1/+1
| | | | | | | | | | | | Partially related to issue #21080 Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
* | If tcp host is provided while TLS is enabled, convert to httpstcp-to-https-parsehostJoffrey F2016-03-171-1/+6
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #995 from docker/default-version-1.22Joffrey F2016-03-161-24/+32
|\ \ | | | | | | Update default API version to 1.22
| * | Update default API version to 1.22default-version-1.22Joffrey F2016-03-161-24/+32
| |/ | | | | | | | | | | | | | | Update engine version used for integration tests IP address configuration tests needed tweaking Signed-off-by: Joffrey F <joffrey@docker.com>
* | Don't support tmpfs in API version < 1.22Aanand Prasad2016-03-161-0/+2
| | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | Add tmpfs integration testAanand Prasad2016-03-161-0/+16
| | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | Add unittest for the Tmpfs Hostconfig optionJan Losinski2016-03-161-0/+56
|/ | | | Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Merge branch 'master' into tls-fixestls-fixesJoffrey F2016-03-151-6/+5
|\
| * Invalid log driver error raised during create_container stepdocker-21153Joffrey F2016-03-141-6/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix enable_tls issue #984Joffrey F2016-03-111-13/+1
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>