diff options
author | Andrew Shadura <andrewsh@debian.org> | 2016-10-19 17:56:53 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2016-10-19 17:56:53 +0200 |
commit | bdbd753fe4ab2de979939bae4caf93b16f6b5efc (patch) | |
tree | 5035feeb558cb1941364624600b21e275f29681c /tests/test_write.py |
Imported Upstream version 0.14
Diffstat (limited to 'tests/test_write.py')
-rw-r--r-- | tests/test_write.py | 17 |
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() |