Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
428942e5
Commit
428942e5
authored
Aug 17, 2013
by
Joshua Roesslein
Browse files
Test for utils list_to_csv().
parent
d7a55864
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_utils.py
View file @
428942e5
...
...
@@ -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"
]))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment