$ pytest -s test_class.py

setup_class called once for the class

setup_method called for every method
one
teardown_method called for every method

setup_method called for every method
two
teardown_method called for every method

teardown_class called once for the class