示例#1
0
 def test_setupgroup_app(self):
     a = app('com.setupgroup.xo.free')
     self.assertEqual(a['title'], 'XO Demo')
     self.assertEqual(a['category'], 'Puzzle')
     self.assertEqual(a['developer_name'], 'Setup Group')
     self.assertEqual(a['developer_email'], '*****@*****.**')
     self.assertEqual(a['developer_website'], 'http://wwww.setupgroup.com')
示例#2
0
文件: tests.py 项目: h2rd/google_play
 def test_setupgroup_app(self):
     a = app('com.setupgroup.xo.free')
     self.assertEqual(a['title'], 'XO Demo')
     self.assertEqual(a['category'], 'Puzzle')
     self.assertEqual(a['developer_name'], 'Setup Group')
     self.assertEqual(a['developer_email'], '*****@*****.**')
     self.assertEqual(a['developer_website'], 'http://wwww.setupgroup.com')
示例#3
0
 def test_pressmatrix(self):
     a = app('com.pressmatrix.cimmagazine')
     self.assertEqual(a['title'], 'CIM Kiosk')
     self.assertEqual(a['category'], 'News & Magazines')
     self.assertEqual(a['developer_name'], 'DVV Media Group GmbH')
     self.assertIsInstance(a['images'], list)
     self.assertNotEqual(len(a['images']), 14)
     self.assertEqual(a['developer_email'], '')
     self.assertEqual(len(a['similar']), 1)
     self.assertEqual(a['developer_website'], 'http://www.cimunity.com/home/')
示例#4
0
 def test_app_info(self):
     a = app('com.twitter.android')
     self.assertIsInstance(a, dict)
     self.assertEqual(a['title'], 'Twitter')
     self.assertEqual(a['package_name'], 'com.twitter.android')
     self.assertEqual(a['developer_name'], 'Twitter, Inc.')
     self.assertEqual(a['category'], 'Social')
     self.assertEqual(a['price'], '0')
     self.assertEqual(a['developer_website'], 'https://support.twitter.com/articles/20169915')
     self.assertEqual(a['developer_email'], '*****@*****.**')
     self.assertEqual(a['url'], 'https://play.google.com/store/apps/details?id=com.twitter.android&hl=en')
     self.assertNotEqual(len(a['images']), 0)
     self.assertNotEqual(len(a['similar']), 0)
示例#5
0
 def test_images_test(self):
     a = app('kaus.mmautotrader.com')
     self.assertIsInstance(a['images'], list)
     self.assertNotEqual(len(a['images']), 0)
示例#6
0
 def test_numDownloads_problem(self):
     a = app('com.wHow2Makeapanelmould')
     self.assertIsInstance(a, dict)
示例#7
0
 def test_not_found_app(self):
     a = app('google.super.app')
     self.assertIsNone(a)
示例#8
0
 def test_images_test(self):
     a = app('com.instagram.android')
     self.assertIsInstance(a['images'], list)
     self.assertNotEqual(len(a['images']), 0)
示例#9
0
文件: tests.py 项目: h2rd/google_play
 def test_images_test(self):
     a = app('com.instagram.android')
     self.assertIsInstance(a['images'], list)
     self.assertNotEqual(len(a['images']), 0)