summaryrefslogtreecommitdiff
path: root/test_tablib.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-02-20 16:41:33 +0100
committerIuri de Silvio <iurisilvio@gmail.com>2017-02-20 12:41:33 -0300
commite66eb4a18967dd4d35e6e9da265622e9e4015103 (patch)
tree6e006e65b5daa060c26d6293662b4e3a5b9eebc3 /test_tablib.py
parent0e720d78ca7e8c4466b8f13970ebae8e12700d00 (diff)
downloadtablib-e66eb4a18967dd4d35e6e9da265622e9e4015103.tar.gz
Replaced vendored openpyxl by a dependency (#221)
It is time to make it happen. * Dropped Python 3.2 support Recent dependencies are dropping Python 3.2 too. * Replaced vendored openpyxl by a dependency Thanks Tommy Anthony for the initial patch.
Diffstat (limited to 'test_tablib.py')
-rwxr-xr-xtest_tablib.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test_tablib.py b/test_tablib.py
index 6aa4be4..03a46df 100755
--- a/test_tablib.py
+++ b/test_tablib.py
@@ -956,6 +956,11 @@ class TablibTestCase(unittest.TestCase):
"""Test XLSX export with formatter configuration."""
self.founders.export('xlsx', freeze_panes=False)
+ def test_databook_formatter_with_new_lines(self):
+ """Test XLSX export with new line in content."""
+ self.founders.append(('First\nSecond', 'Name', 42))
+ self.founders.export('xlsx')
+
if __name__ == '__main__':
unittest.main()