def player_unit_mocker_stopall(mocker):
print('Called [setup]: mocker.stopall()')
mocker.stopall()
print('Called [setup]: imp.reload(player)')
imp.reload(player)
yield mocker
print('Called [teardown]: mocker.stopall()')
mocker.stopall()
print('Called [setup]: imp.reload(player)')
imp.reload(player)
# pylint: disable=R0201
# pylint: disable=C0111
# pylint: disable=C0123
# pylint: disable=C0103
# pylint: disable=W0212
# pylint: disable=W0621
# pylint: disable=W0612
评论列表
文章目录