def test_different_language_and_country(self): s = PlayScraper(hl='da', gl='dk') apps = s.search('dog') self.assertEqual(20, len(apps)) self.assertTrue(all(key in apps[0] for key in BASIC_KEYS)) self.assertEqual(len(BASIC_KEYS), len(apps[0].keys()))
def test_different_language_and_country(self): s = PlayScraper(hl="da", gl="dk") apps = s.search("dog") self.assertEqual(50, len(apps)) self.assertTrue(all(key in apps[0] for key in BASIC_KEYS)) self.assertEqual(len(BASIC_KEYS), len(apps[0].keys()))
def test_different_language_and_country(self): s = PlayScraper(hl='da', gl='dk') apps = s.search('dog') self.assertEqual(20, len(apps)) self.assertTrue(all(key in apps[0] for key in BASIC_KEYS)) self.assertEqual(len(BASIC_KEYS), len(apps[0].keys()))