Пример #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
 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
 def test_images_test(self):
     a = app('com.instagram.android')
     self.assertIsInstance(a['images'], list)
     self.assertNotEqual(len(a['images']), 0)