示例#1
0
 def test_to_csv_will_return_None(self):
     l = []
     self.assertIsNone(curator.to_csv(l))
示例#2
0
 def test_to_csv_will_return_single(self):
     l = ["a"]
     c = "a"
     self.assertEqual(c, curator.to_csv(l))
示例#3
0
 def test_to_csv_will_return_csv(self):
     l = ["a", "b", "c", "d"]
     c = "a,b,c,d"
     self.assertEqual(c, curator.to_csv(l))
示例#4
0
 def test_to_csv_will_return_None(self):
     l = []
     self.assertIsNone(curator.to_csv(l))
示例#5
0
 def test_to_csv_will_return_single(self):
     l = ["a"]
     c = "a"
     self.assertEqual(c, curator.to_csv(l))
示例#6
0
 def test_to_csv_will_return_csv(self):
     l = ["a", "b", "c", "d"]
     c = "a,b,c,d"
     self.assertEqual(c, curator.to_csv(l))