December 2018
Beginner to intermediate
796 pages
19h 54m
English
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 -v
In 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 ...
Read now
Unlock full access