You can create a Pytest report in HTML format using the pytest-html module. You can use the below-given command.
$ pytest -v --html=basic.html
You will get one file named basic.html in the same folder. Browse that file and you can able to see report card.
I hope this will help you.