def test_not_exists_developer(self): apps = developer('twitter') self.assertIsNone(apps)
def test_twitter_with_numbers(self): apps = developer('Twitter, Inc.') self.assertIsInstance(apps, list) self.assertEqual(len(apps), 2)
def test_not_exists_developer(self): apps = developer('twitter') self.assertEqual(len(apps), 0)
def test_zynga_first_ten(self): apps = developer('Zynga', num=10) self.assertIsInstance(apps, list) self.assertEqual(len(apps), 10)