Commit e04e1ec2 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis Committed by Stavros Sachtouris
Browse files

Expect 200 in successful floating IP reassignment

Change expected value from 202 to 200 in reassign_floating_ip
parent 3a96758e
......@@ -260,4 +260,4 @@ class CycladesNetworkClient(NetworkClient):
"""Change the project where this ip is charged"""
path = path4url('floatingips', floating_network_id, 'action')
json_data = dict(reassign=dict(project=project_id))
self.post(path, json=json_data, success=202)
self.post(path, json=json_data, success=200)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment