def helper_load_switch_account(self, app):
"""
Helper method for loading the switch account screen and returning
the class handling this view.
"""
controller = app.controller
# TODO: use dispatch('on_release') on navigation drawer
controller.load_switch_account()
self.advance_frames(1)
switch_account = controller.switch_account
self.assertEqual(switch_account.__class__, main.SwitchAccount)
return switch_account
评论列表
文章目录