@pytest.fixture. def hw(self, mocker): class mock_hw(object): set_light_level = mocker.stub(). set_sound_level = mocker.stub(). return mock_hw.
確定! 回上一頁