summaryrefslogtreecommitdiff
path: root/tests/unit/swarm_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Use pytest assertspytest-assertsJoffrey F2018-01-301-8/+4
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add join_swarm default listen addressMaxime Belanger2017-08-291-0/+43
| | | | | | | | Since the docker CLI adds a default listen address (0.0.0.0:2377) when joining a node to the swarm, the docker-py api will support the same behavior to easy configuration. Signed-off-by: Maxime Belanger <maxime.b.belanger@gmail.com>
* Rename DockerClientTest to BaseAPIClientTestBen Firshman2016-11-221-2/+2
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Fix broken unit testBen Firshman2016-11-071-1/+1
| | | | | | Introduced by https://github.com/docker/docker-py/pull/1230 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* enable setting of node labels #1225Nathan Shirlberg2016-09-271-0/+32
Added update_node function to enable setting labels on nodes. This exposes the Update a Node function from the Docker API and should enable promoting/demoting manager nodes inside a swarm. Signed-off-by: Nathan Shirlberg <nshirlberg@labattfood.com>