Skip to content

Commit

Permalink
Add expected None to handler's get test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Jun 29, 2019
1 parent be804ab commit 41115d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bookstore/tests/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def test_get(self):
"""
get_handler = self.get_handler('/api/bookstore/')
setattr(get_handler, '_transforms', [])
get_handler.get()
return_val = get_handler.get()
assert return_val is None

def test_build_response(self):
empty_handler = self.get_handler('/api/bookstore/')
Expand Down

0 comments on commit 41115d1

Please sign in to comment.