PC pytest:共通の前処理/後処理を作成する @pytest.fixture デコレータで前処理/後処理が書けるので、テストで共通するログイン処理を前処理として作成した例です。 import requests import pytest @pytest.fixture def logi... 2024.03.23 PC