Running unit tests again with pytest
Now, go to the restful01 folder that contains the manage.py file, with the virtual environment activated, and run the following command to execute pytest again with the -v option to increase verbosity:
pytest -vIn this case, pytest will run all the methods whose name starts with the test_ prefix in both the DroneCategoryTests and PilotTests classes and display the results.
The following screenshot shows a sample output generated for the new execution of the pytest command with the increased verbosity:

We enabled verbose mode again, and therefore, the output displayed the full test names that the test_post_and_get_pilot and test_try_to_post_pilot_without_token test methods passed.
We should continue writing tests related to pilots, drone categories, drones, and competitions. It is extremely important that we cover all the scenarios for our RESTful Web Service. Automated tests will make it possible for us to make sure that each new version of our RESTful Web...