Skip to content

Commit 9a1e036

Browse files
minor cleanup after previous merge
1 parent 1688d1c commit 9a1e036

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
from werkzeug.exceptions import HTTPException
33
import json
44

5-
class ExceptionResponse():
6-
def __init__(self, exception):
7-
self.description = exception.description
8-
self.status_code = exception.code
95

106
class TestClient():
117
def __init__(self, app, username, password):
@@ -22,7 +18,7 @@ def send(self, url, method='GET', data=None, headers={}):
2218
data = json.dumps(data)
2319

2420
with self.app.test_request_context(url, method=method, data=data,
25-
headers=headers):
21+
headers=headers):
2622
try:
2723
rv = self.app.preprocess_request()
2824
if rv is None:

0 commit comments

Comments
 (0)