Esempio n. 1
0
    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()))
Esempio n. 2
0
    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()))
Esempio n. 3
0
    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()))