def test_list_formatter_with_empty_list(self): params = [] self.assertEqual('', utils.list_formatter(params))
def test_list_formatter_with_list(self): params = ['foo', 'bar'] self.assertEqual('foo\nbar', utils.list_formatter(params))