def test_string(self): self.assertEqual(util.makeList('hello'), ['hello'])
def test_empty_string(self): self.assertEqual(util.makeList(''), [''])
def test_None(self): self.assertEqual(util.makeList(None), [])
def test_tuple(self): self.assertEqual(util.makeList(('a', 'b')), ['a', 'b'])
def test_copy(self): input = ['a', 'b'] output = util.makeList(input) input.append('c') self.assertEqual(output, ['a', 'b'])
def test_string(self): self.assertEqual(util.makeList("hello"), ["hello"])
def test_copy(self): input = ["a", "b"] output = util.makeList(input) input.append("c") self.assertEqual(output, ["a", "b"])
def test_tuple(self): self.assertEqual(util.makeList(("a", "b")), ["a", "b"])
def test_list(self): self.assertEqual(util.makeList(["a", "b"]), ["a", "b"])
def test_unicode(self): self.assertEqual(util.makeList(u"\N{SNOWMAN}"), [u"\N{SNOWMAN}"])
def test_unicode(self): self.assertEqual(util.makeList(u'\N{SNOWMAN}'), [u'\N{SNOWMAN}'])
def test_list(self): self.assertEqual(util.makeList(['a', 'b']), ['a', 'b'])
def test_empty_string(self): self.assertEqual(util.makeList(""), [""])