Skip to content

Commit dc2b24d

Browse files
authored
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
2 parents bc69b18 + 41aae65 commit dc2b24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/api_swarm_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ def test_remove_main_node(self):
173173
with pytest.raises(docker.errors.APIError) as e:
174174
self.client.remove_node(node_id, True)
175175

176-
assert e.value.response.status_code == 500
176+
assert e.value.response.status_code >= 400

0 commit comments

Comments
 (0)