本文整理汇总了Python中myLib.miro_app.MiroApp.click_remove_podcast方法的典型用法代码示例。如果您正苦于以下问题:Python MiroApp.click_remove_podcast方法的具体用法?Python MiroApp.click_remove_podcast怎么用?Python MiroApp.click_remove_podcast使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myLib.miro_app.MiroApp
的用法示例。
在下文中一共展示了MiroApp.click_remove_podcast方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_720
# 需要导入模块: from myLib.miro_app import MiroApp [as 别名]
# 或者: from myLib.miro_app.MiroApp import click_remove_podcast [as 别名]
def test_720(self):
"""http://litmus.pculture.org/show_test.cgi?id=720 Menu New Search Feed.
1. Add list of guide feeds (Static List)
2. Search in the tab
3. From Sidebar -> New Search feed, create saved search channel
4. Verify Search saved
5. Cleanup
"""
reg = MiroRegions()
miro = MiroApp()
url = "http://pculture.org/feeds_test/list-of-guide-feeds.xml"
feed = "Static"
term = "Voice"
#1. add feed
miro.add_feed(reg, url,feed)
miro.tab_search(reg, term)
#2. search
miro.new_search_feed(reg, term, radio="Podcast", source=feed, defaults=True)
#3. verify search saved
miro.click_last_podcast(reg)
self.assertTrue(reg.m.exists(term, 45))
#4. cleanup
miro.click_remove_podcast(reg)
miro.remove_confirm(reg, action="remove")
miro.delete_feed(reg, "Static List")
示例2: test_214
# 需要导入模块: from myLib.miro_app import MiroApp [as 别名]
# 或者: from myLib.miro_app.MiroApp import click_remove_podcast [as 别名]
def test_214(self):
"""http://litmus.pculture.org/show_test.cgi?id=214 Feed search, search with spaces
1. Add 3 blip videos feed
2. Perform a search with spaces
3. Verify Search saved
4. Cleanup
"""
reg = MiroRegions()
miro = MiroApp()
url = "http://pculture.org/feeds_test/3blipvideos.xml"
feed = "ThreeBlip"
term = "strange creature"
title = "Joo Joo"
#1. add feed
miro.add_feed(reg, url,feed)
#2. search
miro.tab_search(reg, term)
reg.mtb.click("button_save_as_podcast.png")
#3. verify search saved
miro.click_last_podcast(reg)
miro.tab_search(reg, term,confirm_present=True)
#4. cleanup
miro.click_remove_podcast(reg)
miro.remove_confirm(reg, action="remove")
miro.delete_feed(reg, "blip")
miro.delete_feed(reg, feed)
示例3: test_78
# 需要导入模块: from myLib.miro_app import MiroApp [as 别名]
# 或者: from myLib.miro_app.MiroApp import click_remove_podcast [as 别名]
def test_78(self):
"""http://litmus.pculture.org/show_test.cgi?id=78 Menu New Search Feed.
1. Add list of guide feeds (Static List)
2. From Sidebar -> New Search feed, create saved search channel
3. Verify Search saved
4. Cleanup
"""
reg = MiroRegions()
miro = MiroApp()
url = "http://pculture.org/feeds_test/list-of-guide-feeds.xml"
feed = "Static"
term = "touring"
term2 = "Biking"
title = "Travelling Two"
dummy_feed_url = "http://pculture.org/feeds_test/2stupidvideos.xml"
#1. add feed
miro.add_feed(reg, url,feed)
miro.add_feed(reg, dummy_feed_url,"TWO STUPID")
#2. search
miro.new_search_feed(reg, term,radio="Podcast",source=feed)
time.sleep(5)
#3. verify search saved
miro.click_last_podcast(reg)
self.assertTrue(reg.m.exists(term2))
#4. cleanup
miro.click_remove_podcast(reg)
miro.remove_confirm(reg, action="remove")
miro.delete_feed(reg, "Static List")