mirror of https://github.com/docker/docker-py.git
update swarm remove test status code from 500 to >= 400
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
bc69b1834e
commit
41aae65ab2
|
@ -173,4 +173,4 @@ class SwarmTest(BaseAPIIntegrationTest):
|
|||
with pytest.raises(docker.errors.APIError) as e:
|
||||
self.client.remove_node(node_id, True)
|
||||
|
||||
assert e.value.response.status_code == 500
|
||||
assert e.value.response.status_code >= 400
|
||||
|
|
Loading…
Reference in New Issue