'If @api_view is missing arguments, we should raise an assertion.'

def test_api_view_incorrect_arguments(self):

    with self.assertRaises(AssertionError):
        @api_view(u'GET')
        def view(request):
            return Response()
