summaryrefslogtreecommitdiff
path: root/tests/integration/models_containers_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Use pytest assertspytest-assertsJoffrey F2018-01-301-16/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return tuple instead of dict in exec_runJoffrey F2018-01-261-3/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge branch 'add_exit_code_to_exec_run' of ↵Joffrey F2018-01-261-2/+13
|\ | | | | | | https://github.com/hnq90/docker-py into hnq90-add_exit_code_to_exec_run
| * Add exit code to exec_runHuyNQ2017-11-131-2/+13
| | | | | | | | Signed-off-by: HuyNQ <huy@huynq.net>
* | Don't attempt to retrieve container's stderr if `auto_remove` was set1813-autoremove-errorJoffrey F2017-12-191-1/+13
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Retrieve container logs before container exits / is removed1813-run-autoremoveJoffrey F2017-12-141-3/+20
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* client.containers.run returns None if none of json-file or journald logging ↵Artem Bolshakov2017-08-171-0/+18
| | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@gmail.com>
* Replace erroneous networks argument in containers.run with singular1433-run-networksJoffrey F2017-05-121-0/+19
| | | | | | | | network equivalent. Small docfixes Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix volume path passed by run to create_containerBen Firshman2017-02-071-0/+37
| | | | | | | | | | | | Seems like this is pretty much ignored by Docker, so it wasn't causing any visible issues, except when a volume name was used instead of a path. Also, added integration tests. Ref #1380 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Allow configuring API version for integration test with env varconfig_test_api_versionJoffrey F2017-01-251-22/+22
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add new user-focused APIBen Firshman2016-11-221-0/+204
See #1086 Signed-off-by: Ben Firshman <ben@firshman.co.uk>