Skip to content

Commit

Permalink
include post in MockLoggingView
Browse files Browse the repository at this point in the history
its posted to in the tests

Signed-off-by: Brett Matthews <brett_matthews@live.com.au>
  • Loading branch information
brett-matthews authored and avelis committed Apr 12, 2018
1 parent e9d26f6 commit f168cfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class MockLoggingView(LoggingMixin, APIView):
def get(self, request):
return Response('with logging')

def post(self, request):
return Response('with logging')


class MockSlowLoggingView(LoggingMixin, APIView):
def get(self, request):
Expand Down

0 comments on commit f168cfd

Please sign in to comment.