Requests and Responses in a Use Case
Let’s learn the use of requests and responses in a use case.
We'll cover the following
Let’s implement the request and response objects that we developed into the use case. To do this, we need to change the use case so that it accepts a request and returns a response.
Updating test case
The new version of tests/use_cases/test_room_list.py
is as follows.
Get hands-on with 1400+ tech skills courses.