File: test_write.py

package info (click to toggle)
python-ofxparse 0.15%2Bgit20161013-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 724 kB
  • ctags: 223
  • sloc: python: 3,042; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()