Commit 428942e5 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Test for utils list_to_csv().

parent d7a55864
......@@ -8,3 +8,8 @@ class TweepyUtilsTests(TestCase):
result = parse_datetime("Wed Aug 27 13:08:45 +0000 2008")
self.assertEqual(datetime(2008, 8, 27, 13, 8, 45), result)
def testlist_to_csv(self):
self.assertEqual("1,2,3", list_to_csv([1,2,3]))
self.assertEqual("bird,tweet,nest,egg",
list_to_csv(["bird", "tweet", "nest", "egg"]))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment