def testNames(self): names = languages.get_names() self.assertTrue('Python' in names) self.assertTrue('JavaScript' in names) self.assertFalse('python' in names) self.assertFalse('javascript' in names)
def testNamesSort(self): names = languages.get_names() self.assertEquals(names, sorted(names))