Skip to content

Commit

Permalink
Fix typo in method name (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
benasocj authored and joshfriend committed Nov 1, 2017
1 parent 92da853 commit f3dafda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,14 +684,14 @@ def make_empty_response():

def test_output_func(self):

def make_empty_resposne():
def make_empty_response():
return flask.make_response('')

app = Flask(__name__)
api = flask_restful.Api(app)

with app.test_request_context("/foo"):
wrapper = api.output(make_empty_resposne)
wrapper = api.output(make_empty_response)
resp = wrapper()
self.assertEquals(resp.status_code, 200)
self.assertEquals(resp.data.decode(), '')
Expand Down

0 comments on commit f3dafda

Please sign in to comment.