summaryrefslogtreecommitdiff
path: root/test_tablib.py
diff options
context:
space:
mode:
authorLuke Lee <durdenmisc@gmail.com>2010-09-19 16:25:18 -0500
committerLuke Lee <durdenmisc@gmail.com>2010-09-19 16:25:18 -0500
commitfad3546614ceadf6c6be8fdcbd2ce6fc0237c211 (patch)
tree6d156435c1a8556f504604bb0828c6798b440ec8 /test_tablib.py
parent7ba2849829f2265973f434ab318b4af1a0e2ad4b (diff)
downloadtablib-fad3546614ceadf6c6be8fdcbd2ce6fc0237c211.tar.gz
Added docstrings
Diffstat (limited to 'test_tablib.py')
-rw-r--r--test_tablib.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test_tablib.py b/test_tablib.py
index ac51ed8..9002ee8 100644
--- a/test_tablib.py
+++ b/test_tablib.py
@@ -49,7 +49,7 @@ class TablibTestCase(unittest.TestCase):
self.assertRaises(tablib.InvalidDimensions, data.append, new_row)
def test_add_column(self):
- # No Headers
+ """Verify adding column works with/without headers"""
data.append(['kenneth'])
data.append(['bessie'])
@@ -69,8 +69,7 @@ class TablibTestCase(unittest.TestCase):
self.assertEquals(data[new_col[0]], new_col[1:])
def test_add_column_no_data_no_headers(self):
-
- # no headers
+ """Verify adding new column with no headers"""
new_col = ('reitz', 'monke')
@@ -81,8 +80,7 @@ class TablibTestCase(unittest.TestCase):
self.assertEquals(data.height, len(new_col))
def test_add_column_no_data_with_headers(self):
-
- # no headers
+ """Verify adding new column with headers"""
data.headers = ('first', 'last')