def test_authentication_subclass_without_authenticate_parameter():
    app = Sanic()
    with pytest.raises(exceptions.AuthenticateNotImplemented):
        Initialize(app, authentication_class=WrongAuthentication)
def test_authentication_subclass_without_authenticate_parameter():
    app = Sanic()
    with pytest.raises(exceptions.AuthenticateNotImplemented):
        Initialize(app, authentication_class=WrongAuthentication)