summaryrefslogtreecommitdiff
path: root/tests/integration/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Update tests to properly dispose of client instances in tearDownJoffrey F2018-11-011-35/+38
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Cleanup containers during the testsYong Tang2018-02-231-1/+1
| | | | | | | | | | | | 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>
* Update wait to always return a dictwait_returnJoffrey F2018-01-311-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separationJoffrey F2018-01-301-4/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* More ContainerSpec testsJoffrey F2017-11-071-6/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for configs managementJoffrey F2017-11-071-0/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use unambiguous advertise-addr when initializing a swarmJoffrey F2017-11-071-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1459 from shin-/1300-storageoptsJoffrey F2017-02-151-0/+4
|\ | | | | Add support for storage_opt in host_config
| * Add support for storage_opt in host_configJoffrey F2017-02-151-0/+4
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add tests for secret API implementationJoffrey F2017-02-131-0/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1432 from shin-/pluginsJoffrey F2017-02-131-0/+1
|\ \ | |/ | | Plugins API
| * Add create_plugin implementationJoffrey F2017-02-091-0/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add prune_networks methodJoffrey F2017-01-301-1/+1
|/ | | | | | Ensure all integration tests use the same version of the busybox image Signed-off-by: Joffrey F <joffrey@docker.com>
* Allow configuring API version for integration test with env varconfig_test_api_versionJoffrey F2017-01-251-2/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Prevent Swarm address conflictsjenkinsfileJoffrey F2016-12-081-0/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Split out base integration test for APIClientBen Firshman2016-11-221-17/+20
| | | | | | So the cleanup stuff can be reused for model tests. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Rename Client to APIClientBen Firshman2016-11-221-1/+2
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Move BaseTestCase to BaseIntegrationTestBen Firshman2016-10-031-0/+88
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>