summaryrefslogtreecommitdiff
path: root/tests/test_write.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_write.py')
-rw-r--r--tests/test_write.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_write.py b/tests/test_write.py
new file mode 100644
index 0000000..3366217
--- /dev/null
+++ b/tests/test_write.py
@@ -0,0 +1,17 @@
+from __future__ import absolute_import
+
+from ofxparse import OfxParser as op
+from unittest import TestCase
+import sys
+sys.path.append('..')
+from .support import open_file
+
+class TestOfxWrite(TestCase):
+ def test_write(self):
+ test_file = open_file('fidelity.ofx')
+ ofx_doc = op.parse(test_file)
+ self.assertEqual(str(ofx_doc), "")
+
+if __name__ == "__main__":
+ import unittest
+ unittest.main()