diff --git a/test_tablib.py b/test_tablib.py new file mode 100644 index 0000000..457d74b --- /dev/null +++ b/test_tablib.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import unittest + +import tablib + +class TablibTestCase(unittest.TestCase): + def setUp(self): + pass + + def tearDown(self): + pass + + def test_empty_append(self): + data = tablib.Dataset() + new_row = (1,2,3) + data.append(new_row) + assert data.width == len(new_row) + + + + +if __name__ == '__main__': + unittest.main() \ No newline at end of file