예제 #1
0
 def list_readable(self,listed):
     """Generates a string of items from a list, separated by commas."""		
     novo = readable.list(listed)
     return novo
예제 #2
0
 def test_list(self):
     self.assertEqual(readable.list([]), "")
     self.assertEqual(readable.list(["one", "two", "three"]),
                      "one, two, three")
예제 #3
0
 def list_readable(self, listed):
     """Generates a string of items from a list, separated by commas."""
     novo = readable.list(listed)
     return novo
예제 #4
0
 def test_list(self):
     self.assertEqual(readable.list([]), "")
     self.assertEqual(readable.list(["one","two", "three"]), "one, two, three")