pytestにおけるsetUp
https://docs.pytest.org/en/latest/how-to/xunit_setup.html#method-and-function-level-setup-teardown
#pytest
Similarly, the following methods are called around each method invocation:
setup_method
teardown_method
As of pytest-3.0, the method parameter is optional.