config/providers.pyand add it to your
masonite.auth.Authclass resolves out of the container and how it resolves its own dependencies.
craft authscaffold command.
SomeClassrequires the request object, it will be passed automatically when you resolve it.
python -m pytest. The only thing that changes is the structure of the
setup_method(). This has been renamed to
snake_casebut to continue with the unittest convention, all testing methods are
camelCasewhen using Masonite methods and unittest methods.
self.route()with the correct request methods.
usermethod but now you can using the
actingAsmethod before you call the route: