Merge "Netchecker status code is changed from 204 to 200"

This commit is contained in:
Jenkins 2016-10-03 11:46:30 +00:00 committed by Gerrit Code Review
commit c1192b207f
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ class TestFuelCCPNetCheckerMixin:
def check_network(self, kube_host_ip, works=True):
if works:
assert self.get_netchecker_status(kube_host_ip).status_code == 204
assert self.get_netchecker_status(kube_host_ip).status_code in \
(200, 204)
else:
assert self.get_netchecker_status(kube_host_ip).status_code == 400