• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python helper.assertGreaterEqual函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中test.helper.assertGreaterEqual函数的典型用法代码示例。如果您正苦于以下问题:Python assertGreaterEqual函数的具体用法?Python assertGreaterEqual怎么用?Python assertGreaterEqual使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了assertGreaterEqual函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: test_bambuser_channel

 def test_bambuser_channel(self):
     dl = FakeYDL()
     ie = BambuserChannelIE(dl)
     result = ie.extract('http://bambuser.com/channel/pixelversity')
     self.assertIsPlaylist(result)
     self.assertEqual(result['title'], 'pixelversity')
     assertGreaterEqual(self, len(result['entries']), 60)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例2: test_livestream_event

 def test_livestream_event(self):
     dl = FakeYDL()
     ie = LivestreamIE(dl)
     result = ie.extract('http://new.livestream.com/tedx/cityenglish')
     self.assertIsPlaylist(result)
     self.assertEqual(result['title'], 'TEDCity2.0 (English)')
     assertGreaterEqual(self, len(result['entries']), 4)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例3: test_livestreamoriginal_folder

 def test_livestreamoriginal_folder(self):
     dl = FakeYDL()
     ie = LivestreamOriginalIE(dl)
     result = ie.extract('https://www.livestream.com/newplay/folder?dirId=a07bf706-d0e4-4e75-a747-b021d84f2fd3')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'a07bf706-d0e4-4e75-a747-b021d84f2fd3')
     assertGreaterEqual(self, len(result['entries']), 28)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例4: test_soundcloud_likes

 def test_soundcloud_likes(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band/likes')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '9615865')
     assertGreaterEqual(self, len(result['entries']), 1)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例5: test_soundcloud_set

 def test_soundcloud_set(self):
     dl = FakeYDL()
     ie = SoundcloudSetIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band/sets/the-royal-concept-ep')
     self.assertIsPlaylist(result)
     self.assertEqual(result['title'], 'The Royal Concept EP')
     assertGreaterEqual(self, len(result['entries']), 6)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例6: test_ustream_channel

 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract('http://www.ustream.tv/channel/channeljapan')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '10874166')
     assertGreaterEqual(self, len(result['entries']), 54)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例7: test_xtube_user

 def test_xtube_user(self):
     dl = FakeYDL()
     ie = XTubeUserIE(dl)
     result = ie.extract('http://www.xtube.com/community/profile.php?user=greenshowers')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'greenshowers')
     assertGreaterEqual(self, len(result['entries']), 155)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例8: test_bandcamp_album

 def test_bandcamp_album(self):
     dl = FakeYDL()
     ie = BandcampAlbumIE(dl)
     result = ie.extract('http://mpallante.bandcamp.com/album/nightmare-night-ep')
     self.assertIsPlaylist(result)
     self.assertEqual(result['title'], 'Nightmare Night EP')
     assertGreaterEqual(self, len(result['entries']), 4)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例9: test_toypics_user

 def test_toypics_user(self):
     dl = FakeYDL()
     ie = ToypicsUserIE(dl)
     result = ie.extract('http://videos.toypics.net/Mikey')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'Mikey')
     assertGreaterEqual(self, len(result['entries']), 17)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例10: test_bandcamp_album

 def test_bandcamp_album(self):
     dl = FakeYDL()
     ie = BandcampAlbumIE(dl)
     result = ie.extract('http://nightbringer.bandcamp.com/album/hierophany-of-the-open-grave')
     self.assertIsPlaylist(result)
     self.assertEqual(result['title'], 'Hierophany of the Open Grave')
     assertGreaterEqual(self, len(result['entries']), 9)
开发者ID:DavidFabijan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例11: test_rutube_person

 def test_rutube_person(self):
     dl = FakeYDL()
     ie = RutubePersonIE(dl)
     result = ie.extract('http://rutube.ru/video/person/313878/')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '313878')
     assertGreaterEqual(self, len(result['entries']), 37)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例12: test_rutube_channel

 def test_rutube_channel(self):
     dl = FakeYDL()
     ie = RutubeChannelIE(dl)
     result = ie.extract('http://rutube.ru/tags/video/1800/')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '1800')
     assertGreaterEqual(self, len(result['entries']), 68)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例13: test_TeacherTubeUser

 def test_TeacherTubeUser(self):
     dl = FakeYDL()
     ie = TeacherTubeUserIE(dl)
     result = ie.extract('http://www.teachertube.com/user/profile/rbhagwati2')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'rbhagwati2')
     assertGreaterEqual(self, len(result['entries']), 179)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例14: test_dailymotion_user

 def test_dailymotion_user(self):
     dl = FakeYDL()
     ie = DailymotionUserIE(dl)
     result = ie.extract('https://www.dailymotion.com/user/nqtv')
     self.assertIsPlaylist(result)
     assertGreaterEqual(self, len(result['entries']), 100)
     self.assertEqual(result['title'], 'Rémi Gaillard')
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:7,代码来源:test_playlists.py


示例15: test_ted_playlist

 def test_ted_playlist(self):
     dl = FakeYDL()
     ie = TEDIE(dl)
     result = ie.extract('http://www.ted.com/playlists/who_are_the_hackers')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '10')
     self.assertEqual(result['title'], 'Who are the hackers?')
     assertGreaterEqual(self, len(result['entries']), 6)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:8,代码来源:test_playlists.py


示例16: test_smotri_user

 def test_smotri_user(self):
     dl = FakeYDL()
     ie = SmotriUserIE(dl)
     result = ie.extract('http://smotri.com/user/inspector')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'inspector')
     self.assertEqual(result['title'], 'Inspector')
     assertGreaterEqual(self, len(result['entries']), 9)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:8,代码来源:test_playlists.py


示例17: test_smotri_community

 def test_smotri_community(self):
     dl = FakeYDL()
     ie = SmotriCommunityIE(dl)
     result = ie.extract('http://smotri.com/community/video/kommuna')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'kommuna')
     self.assertEqual(result['title'], 'КПРФ')
     assertGreaterEqual(self, len(result['entries']), 4)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:8,代码来源:test_playlists.py


示例18: test_ivi_compilation_season

 def test_ivi_compilation_season(self):
     dl = FakeYDL()
     ie = IviCompilationIE(dl)
     result = ie.extract('http://www.ivi.ru/watch/dvoe_iz_lartsa/season1')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'dvoe_iz_lartsa/season1')
     self.assertEqual(result['title'], 'Двое из ларца (2006 - 2008) 1 сезон')
     assertGreaterEqual(self, len(result['entries']), 12)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:8,代码来源:test_playlists.py


示例19: test_khanacademy_topic

 def test_khanacademy_topic(self):
     dl = FakeYDL()
     ie = KhanAcademyIE(dl)
     result = ie.extract('https://www.khanacademy.org/math/applied-math/cryptography')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'cryptography')
     self.assertEqual(result['title'], 'Journey into cryptography')
     self.assertEqual(result['description'], 'How have humans protected their secret messages through history? What has changed today?')
     assertGreaterEqual(self, len(result['entries']), 3)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:9,代码来源:test_playlists.py


示例20: test_aol_playlist

 def test_aol_playlist(self):
     dl = FakeYDL()
     ie = AolIE(dl)
     result = ie.extract(
         'http://on.aol.com/playlist/brace-yourself---todays-weirdest-news-152147?icid=OnHomepageC4_Omg_Img#_videoid=518184316')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '152147')
     self.assertEqual(
         result['title'], 'Brace Yourself - Today\'s Weirdest News')
     assertGreaterEqual(self, len(result['entries']), 10)
开发者ID:AbhimanyuAryan,项目名称:youtube-dl,代码行数:10,代码来源:test_playlists.py



注:本文中的test.helper.assertGreaterEqual函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python helper.capture_log函数代码示例发布时间:2022-05-27
下一篇:
Python env.get函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap