diff options
| author | Luke Lee <durdenmisc@gmail.com> | 2010-09-13 20:23:31 -0500 |
|---|---|---|
| committer | Luke Lee <durdenmisc@gmail.com> | 2010-09-13 20:23:31 -0500 |
| commit | 93c6c3958172875354a688d430e92f0d95428e6a (patch) | |
| tree | d5676c79f2c98168016985a13f0103cb32858f12 /test_tablib.py | |
| parent | 876b849950a7c56ae158f417f2336eaeb970b65c (diff) | |
| download | tablib-93c6c3958172875354a688d430e92f0d95428e6a.tar.gz | |
Misc. pep8 cleanups including spaces after ',' and blank line organization
Diffstat (limited to 'test_tablib.py')
| -rw-r--r-- | test_tablib.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test_tablib.py b/test_tablib.py index cea6d24..81673bd 100644 --- a/test_tablib.py +++ b/test_tablib.py @@ -5,6 +5,7 @@ import unittest import tablib + class TablibTestCase(unittest.TestCase): def setUp(self): pass @@ -16,25 +17,22 @@ class TablibTestCase(unittest.TestCase): data = tablib.Dataset() - new_row = (1,2,3) + new_row = (1, 2, 3) data.append(new_row) self.assertTrue(data.width == len(new_row)) - def test_empty_append_with_headers(self): data = tablib.Dataset() data.headers = ['first', 'second'] - new_row = (1,2,3,4) - + new_row = (1, 2, 3, 4) + self.assertRaises(tablib.InvalidDimensions, data.append, new_row) - - # def test_adding_header with (self): - + # def test_adding_header with (self): if __name__ == '__main__': - unittest.main()
\ No newline at end of file + unittest.main() |
