summaryrefslogtreecommitdiff
path: root/tests/integration
Commit message (Collapse)AuthorAgeFilesLines
* fix exec api inconsistencyCorentin Henry2018-11-281-1/+1
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* tests various exec_create/exec_start combinationsCorentin Henry2018-11-281-0/+69
| | | | | | Test the interation of the tty, demux and stream parameters Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* implement stream demultiplexing for exec commandsCorentin Henry2018-11-272-4/+6
| | | | | | fixes https://github.com/docker/docker-py/issues/1952 Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* Add named parameter to image.save to identify which repository name to use ↵2124-image-save-with-nameJoffrey F2018-11-061-0/+27
| | | | | | in the resulting tarball Signed-off-by: Joffrey F <joffrey@docker.com>
* Clear error for cancellable streams over SSHJoffrey F2018-11-012-1/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update tests to properly dispose of client instances in tearDownJoffrey F2018-11-014-46/+48
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update tests for ssh protocol compatibilityJoffrey F2018-11-011-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add xfail to ignore 18.09 beta bugJoffrey F2018-10-311-0/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for RollbackConfigrollback_configJoffrey F2018-08-091-0/+21
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add version checks and testJoffrey F2018-08-091-0/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for `uts_mode` parameter in `Client.create_host_config`.Marco Trillo2018-06-291-0/+10
| | | | | | | | | | This parameter allows to set the UTS namespace of the container, as in the `--uts=X` Docker CLI parameter: <https://docs.docker.com/engine/reference/run/#uts-settings---uts> The only allowed value, if set, is "host". Signed-off-by: Marco Trillo <martri@arantia.com> Signed-off-by: Diego Alvarez <dyako.developer@gmail.com>
* Fix support for legacy .dockercfg auth config formatJoffrey F2018-06-271-40/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix several integration tests on WindowsJoffrey F2018-05-252-15/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix create_plugin on WindowsJoffrey F2018-05-251-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Avoid unwanted modification of dockerfile pathJoffrey F2018-05-251-9/+44
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'master' of github.com:docker/docker-pyJoffrey F2018-04-251-0/+9
|\
| * Fix session timeout = None caseJoffrey F2018-04-251-7/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Total timeout should be HTTP timeout + operation timeoutJoffrey F2018-04-251-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * stop(), restart(): Adjust request timeout.Matthieu Nottale2018-04-251-0/+11
| | | | | | | | Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
* | prune_builds testJoffrey F2018-04-251-0/+6
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support absolute paths for in-context DockerfilesJoffrey F2018-04-121-1/+32
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Properly handle relative Dockerfile paths and Dockerfile on different drivesJoffrey F2018-03-301-0/+32
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add methods for /distribution/<name>/json endpointJoffrey F2018-03-291-0/+9
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support building with Dockerfile outside of contextJoffrey F2018-03-271-0/+33
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add isolation param to buildJoffrey F2018-03-231-0/+15
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Remove redundant single-socket select callJoffrey F2018-03-202-17/+3
| | | | | | Clean up + use pytest-timeout Signed-off-by: Joffrey F <joffrey@docker.com>
* Allow cancelling the streams from other threadsViktor Adam2018-03-203-0/+89
| | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* Add test for container list with sparse=TrueJoffrey F2018-03-141-0/+22
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve dockerignore comment testJoffrey F2018-03-051-1/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix flake8 caseWanzhi Du2018-03-051-1/+1
| | | | Signed-off-by: Wanzhi Du <wanzhi09@gmail.com>
* Ignore comment line from the .dockerignore fileWanzhi Du2018-03-051-1/+2
| | | | | | | | | This fixed the bug that test comment line in .dockerignore file as ignore rule bug. Add test for "# comment" patterns in .dockerignore. Signed-off-by: Wanzhi Du <wanzhi09@gmail.com>
* Cleanup containers during the testsYong Tang2018-02-232-3/+9
| | | | | | | | | | | | This fix tries to clean up the containers during the tests so that no pre-existing volumes left in docker integration tests. This fix adds `-v` when removing containers, and makes sure containers launched in non-daemon mode are removed. This fix is realted to moby PR 36292 Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Merge pull request #1918 from rycus86/service-restart-methodJoffrey F2018-02-211-2/+39
|\ | | | | Shorthand method for service.restart()
| * Shorthand method for service.force_update()Viktor Adam2018-02-211-2/+39
| | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | GenericResources was introduced in 1.32Joffrey F2018-02-201-1/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Code cleanup and version guardsJoffrey F2018-02-201-4/+4
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add support for generic resources to docker.types.ResourcesWilliam Myers2018-02-201-0/+51
| | | | | | | | | | | | | | - Add support for dict and list generic_resources parameter - Add generic_resources integration test Signed-off-by: William Myers <mwilliammyers@gmail.com>
* | Fix DockerClient pull bug when pulling image by digest1912-pull-sha-tagJoffrey F2018-02-201-0/+9
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Clean up created volume from test_run_with_named_volumeYong Tang2018-02-141-1/+2
| | | | | | | | | | This fix adds the volume id to the list so that it could be cleaned up on test teardown. The issue was originally from https://github.com/moby/moby/pull/36292 where an additional `somevolume` pre-exists in tests. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add support for device_cgroup_rules parameter in host configc5622_device_cgroup_rulesJoffrey F2018-02-131-0/+15
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update wait to always return a dictwait_returnJoffrey F2018-01-313-20/+22
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Refuse API version < 1.21 ; Remove associated code pathscleanup_deprecatedJoffrey F2018-01-314-53/+19
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for publish mode for endpointspec ports1878-publishmodeJoffrey F2018-01-311-1/+20
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separationJoffrey F2018-01-302-5/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update detach tests to work with AF_INET as wellmtsmfm-masterJoffrey F2018-01-302-30/+41
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use config.json for detachKeysFumiaki MATSUSHIMA2018-01-302-3/+100
| | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com>
* Properly support pulling all tags in DockerClient.images.pull1761-dockerclient-pullJoffrey F2018-01-302-1/+8
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use pytest assertspytest-assertsJoffrey F2018-01-3014-413/+392
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1874 from docker/1774-export-methodsJoffrey F2018-01-292-2/+39
|\ | | | | Update save / export methods to return data generators
| * Update save / export methods to return data generators1774-export-methodsJoffrey F2018-01-262-2/+39
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>