本文整理汇总了Python中mtbf_driver.MtbfTestCase.GaiaMtbfTestCase.tearDown方法的典型用法代码示例。如果您正苦于以下问题:Python GaiaMtbfTestCase.tearDown方法的具体用法?Python GaiaMtbfTestCase.tearDown怎么用?Python GaiaMtbfTestCase.tearDown使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mtbf_driver.MtbfTestCase.GaiaMtbfTestCase
的用法示例。
在下文中一共展示了GaiaMtbfTestCase.tearDown方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
# In case the assertion fails this will still kill the call
# An open call creates problems for future tests
self.data_layer.kill_active_call()
GaiaMtbfTestCase.tearDown(self)
示例2: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
# make sure it goes back to the top for activating editing mode
self.device.touch_home_button()
self.device.touch_home_button()
# delete the bookmark
self.apps.switch_to_displayed_app()
self.homescreen.activate_edit_mode()
self.confirm_dialog = self.homescreen.installed_app(self.bookmark_title).tap_delete_app()
self.confirm_dialog.tap_confirm()
self.data_layer.disable_wifi()
GaiaMtbfTestCase.tearDown(self)
示例3: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
GaiaMtbfTestCase.tearDown(self)
示例4: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
self.device.touch_home_button()
self.device.touch_home_button()
GaiaMtbfTestCase.tearDown(self)
示例5: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
self.data_layer.disable_wifi()
GaiaMtbfTestCase.tearDown(self)
示例6: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
self.data_layer.disable_cell_data()
GaiaMtbfTestCase.tearDown(self)
示例7: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
if hasattr(self, "message_thread"):
self.apps.switch_to_displayed_app()
self.message_thread.tap_back_button()
GaiaMtbfTestCase.tearDown(self)
示例8: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
self.marionette.switch_to_frame()
self.data_layer.disable_cell_data()
GaiaMtbfTestCase.tearDown(self)
示例9: tearDown
# 需要导入模块: from mtbf_driver.MtbfTestCase import GaiaMtbfTestCase [as 别名]
# 或者: from mtbf_driver.MtbfTestCase.GaiaMtbfTestCase import tearDown [as 别名]
def tearDown(self):
if self.fm_radio.is_power_button_on:
self.fm_radio.tap_power_button()
GaiaMtbfTestCase.tearDown(self)