class TestClass: def setup_class(cls): pass def test_buttons(self, data): # self. ... import pytest @pytest.fixture() def resource(): print("setup") yield ...
確定! 回上一頁