diff options
| author | Claude Paroz <claude@2xlibre.net> | 2019-10-04 21:17:31 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2019-10-04 21:18:30 +0200 |
| commit | 5bd896b954666891cd7c57bc0e133059bd689fe5 (patch) | |
| tree | 918ca15eae18a07c58eda6c5f4f89baccfcd4b29 | |
| parent | af414b69d739591caf259592adb88342ef3459b9 (diff) | |
| download | tablib-5bd896b954666891cd7c57bc0e133059bd689fe5.tar.gz | |
Refs #304 - Test separator exporting
| -rwxr-xr-x | test_tablib.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test_tablib.py b/test_tablib.py index 043d349..36b1cff 100755 --- a/test_tablib.py +++ b/test_tablib.py @@ -270,6 +270,13 @@ class TablibTestCase(BaseTestCase): data.append(new_row) self._test_export_data_in_all_formats(data) + def test_separator_append(self): + for a in range(3): + data.append_separator('foobar') + for a in range(5): + data.append(['asdf', 'asdf', 'asdf']) + self._test_export_data_in_all_formats(data) + def test_book_export_no_exceptions(self): """Test that various exports don't error out.""" |
