def test_api_view_incorrect_arguments(self):

        with self.assertRaises(AssertionError):
            @api_view('GET')
            def view(request):
                return Response()
Authenticates a user through the combination email/username with
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_decorators.py/DecoratorTestCase.test_api_view_incorrect_arguments--crossover with--dataset/ETHPy150Open bread-and-pepper/django-userena/userena/backends.py/UserenaAuthenticationBackend.authenticate