Merge pull request #1621 from allencloud/update-swarm-remove-test-status-code-from-500-to-400

update node remove test status code from 500 to >= 400
This commit is contained in:
Joffrey F 2017-05-22 12:09:07 -07:00 committed by GitHub
commit dc2b24dcdd
1 changed files with 1 additions and 1 deletions

View File

@ -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