summaryrefslogtreecommitdiff
path: root/tests/helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Adjust tests and add newest engine version to Jenkinsfiletest_17.05_engineJoffrey F2017-05-091-7/+17
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add service_logs integration testJoffrey F2017-03-131-0/+10
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for force_update in TaskTemplateJoffrey F2017-01-271-1/+3
| | | | | | Add min version checks in create_service and update_service Signed-off-by: Joffrey F <joffrey@docker.com>
* Add stop_timeout to create_containerJoffrey F2017-01-271-3/+5
| | | | | | Fix requires_api_version test decorator Signed-off-by: Joffrey F <joffrey@docker.com>
* Prevent Swarm address conflictsjenkinsfileJoffrey F2016-12-081-0/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update code and tests for Engine 1.13 compatibilitydnephin-add-attachableJoffrey F2016-12-071-1/+1
| | | | | | Makefile now runs tests against Docker 1.13 RC Signed-off-by: Joffrey F <joffrey@docker.com>
* Add new user-focused APIBen Firshman2016-11-221-0/+13
| | | | | | See #1086 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Add random_name test helperBen Firshman2016-11-221-0/+5
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Rework healthcheck integration testAanand Prasad2016-11-161-0/+9
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Move requires_api_version to helpersBen Firshman2016-10-031-0/+11
| | | | | | | Because it's a helper, not a base thing. In preparation for moving/deleting the unit test base classes. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Move BaseTestCase to BaseIntegrationTestBen Firshman2016-10-031-92/+0
| | | | | | | | Because two things called `BaseTestCase` is quite confusing. I haven't bothered refactoring the other `BaseTestCase` because that disappears anyway when we drop Python 2.6 support. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Remove references to "ExecutionDriver"Brian Goff2016-08-161-9/+0
| | | | | | | | | Docker no longer has an `ExecutionDriver` as of Docker 1.11. The field in the `docker info` API will not be present in 1.13. Found this while working on docker/docker#25721 Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Move socket-reading test helpers into docker.utils.socketAanand Prasad2016-07-131-46/+0
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Read from socket after sending TCP upgrade headers.Joffrey F2016-07-131-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Support links when creating containers or connecting to networksAanand Prasad2016-01-201-0/+15
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* allow interactive execTomas Tomecek2015-12-031-0/+46
| | | | Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* Move methods/classes used by all integration tests to helpers.pyJoffrey F2015-11-181-0/+87
| | | | | | | Ensure setup_module is called at session level, making the test suite not order dependent. Test files can be invoked independently. Signed-off-by: Joffrey F <joffrey@docker.com>
* put/get archive implementationJoffrey F2015-10-081-0/+21
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Better support for .dockerignoreAanand Prasad2015-08-261-0/+16
- Support all basic pattern forms: file, directory, *, ?, ! - Fix handling of wildcard patterns and subdirectories - `*/a.py` should match `foo/a.py`, but not `foo/bar/a.py` - Fix handling of directory patterns with a trailing slash - make sure they're handled equivalently to those without one - Fix handling of custom Dockerfiles - make sure they go in the tarball Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>