I have defined a fixture like : @pytest.fixture def mock_yield_data(self): for data in [ { 1: 2, 2: 3 }, { 2: 4, 4: 5 }, ]: yield data.
確定! 回上一頁