Fixed small bug.

Change-Id: Ieb03513ac9a5098671a912f71ea1d0940ed0733f
This commit is contained in:
Timur Nurlygayanov 2013-07-30 10:53:32 -04:00
parent 0ff991fb14
commit 67a1692b8f
2 changed files with 7 additions and 0 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/murano-tests.git

View File

@ -158,6 +158,9 @@ class simple_REST:
| *DELETE request* | http://10.10.10.1:8082/environments | | *DELETE request* | http://10.10.10.1:8082/environments |
| ${code} | *Get Response Code* | | ${code} | *Get Response Code* |
""" """
if self.response:
if self.response.status_code == 500:
LOG.debug(self.response)
return self.response.status_code return self.response.status_code
def get_response_body(self): def get_response_body(self):