def test_twitter_next_5_apps(self): apps1 = search('twitter', num=5) apps2 = search('twitter', num=5, start=5) self.assertIsInstance(apps2, list) self.assertEqual(len(apps2), 5) self.assertNotEqual(apps1, apps2)
def test_twitter_with_numbers(self): apps = search('twitter', num=5) self.assertIsInstance(apps, list) self.assertEqual(len(apps), 5)
def test_twitter(self): apps = search('twitter') self.assertIsInstance(apps, list) self.assertEqual(len(apps), 24)