summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/common/raises.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/common/raises.py')
-rw-r--r--testapi/opnfv_testapi/common/raises.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/common/raises.py b/testapi/opnfv_testapi/common/raises.py
index 55c58c9..5d89e32 100644
--- a/testapi/opnfv_testapi/common/raises.py
+++ b/testapi/opnfv_testapi/common/raises.py
@@ -15,7 +15,7 @@ class Raiser(object):
code = httplib.OK
def __init__(self, reason):
- raise web.HTTPError(self.code, reason)
+ raise web.HTTPError(self.code, reason=reason)
class BadRequest(Raiser):