def testListOfPStr(self): a = 'str0' b = 'str1' lst = sample.createListOfPStr(a, b) self.assertEqual(lst, [a, b])