def test_function_groupNames_case_zero_list(self): lettersGroup = [] outputData = [] self.assertEqual(views.groupNames(lettersGroup), outputData)
def test_function_groupNames_case_zero_literals(self): lettersGroup = [[''], [''], ['']] outputData = ['', '', ''] self.assertEqual(views.groupNames(lettersGroup), outputData)
def test_function_groupNames(self): lettersGroup = [[u'а', u'б', u'в'], [u'г'], [u'д', u'е']] outputData = [u'а-в', u'г', u'д-е'] self.assertEqual(views.groupNames(lettersGroup), outputData)