commit | 09925972ad6099c36aa5ee9cc9af60af6dbcb718 | [log] [tgz] |
---|---|---|
author | Attila Fazekas <afazekas@redhat.com> | Thu Dec 19 16:16:49 2013 +0100 |
committer | Attila Fazekas <afazekas@redhat.com> | Thu Dec 19 16:16:49 2013 +0100 |
tree | 254f435f6b522f87baa79a1a800782d47f25b260 | |
parent | 446f1fdac681898cfcd023e2227a472fb410c6b5 [diff] |
Fix AttributeError on BadRequest in scenario tests Fixing the following incorrectly raised exception: _StringException: Traceback (most recent call last): File "tempest/scenario/manager.py", line 251, in tearDownClass if e.__class__.__name__ == 'NotFound' or e.status_code == 404: AttributeError: 'BadRequest' object has no attribute 'status_code' Change-Id: I3ee006720328c0a5aabbc7766f997a032dfa8230