Skip to content

Commit 41aae65

Browse files
committed
update swarm remove test status code from 500 to >= 400
Signed-off-by: allencloud <allen.sun@daocloud.io>
1 parent bc69b18 commit 41aae65

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)