本文整理汇总了Python中myLib.miro_app.MiroApp.get_playlists_region方法的典型用法代码示例。如果您正苦于以下问题:Python MiroApp.get_playlists_region方法的具体用法?Python MiroApp.get_playlists_region怎么用?Python MiroApp.get_playlists_region使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myLib.miro_app.MiroApp
的用法示例。
在下文中一共展示了MiroApp.get_playlists_region方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_679
# 需要导入模块: from myLib.miro_app import MiroApp [as 别名]
# 或者: from myLib.miro_app.MiroApp import get_playlists_region [as 别名]
def test_679(self):
"""http://litmus.pculture.org/show_test.cgi?id=679 create a playlist via menu.
Also verifies test_222, remove playlist (via context menu)
1. add a watched folder to get some items in the db
2. select the items and create a new playlist from menu
3. verify items in list
4. repeat with context menu and verify
"""
playlist = "EMPTY LIST"
reg = MiroRegions()
miro = MiroApp()
miro.add_playlist(reg, playlist,style="menu")
p = miro.get_playlists_region(reg)
list_loc = miro.click_playlist(reg, playlist)
rightClick(Location(list_loc))
p.click("Remove")
miro.remove_confirm(reg, "remove")
time.sleep(2)
if p.exists(playlist):
print "remove failed"
else:
miro.log_result("222","verified remove playlist via context menu")