Skip to content

Commit

Permalink
Allow 409 on delete
Browse files Browse the repository at this point in the history
Thanks, @cyli!
  • Loading branch information
lvh committed Feb 13, 2015
1 parent 44336d8 commit 628715d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otter/test/worker/test_rcv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _fake_perform(self, dispatcher, effect):
# %2Fload_balancer_pools%2Fnodes
return succeed(self.post_result)
elif req.method == "DELETE":
self.assertEqual(req.success_pred, has_code(204))
self.assertEqual(req.success_pred, has_code(204, 409))
# http://docs.rcv3.apiary.io/#delete-%2Fv3%2F{tenant_id}
# %2Fload_balancer_pools%2Fnode
return succeed(self.del_result)
Expand Down

0 comments on commit 628715d

Please sign in to comment.