vContent

tests/test_card.py

44:1c96117c0df7
2014-10-04 Paul Boddie Added more tests.
     1 #!/usr/bin/env python     2      3 import codecs, vContent, os     4      5 this_dir = os.path.split(__file__)[0]     6 f = codecs.open(os.path.join(this_dir, "test.vcf"), encoding="utf-8")     7 try:     8     doc = vContent.parse(f)     9 finally:    10     f.close()    11     12 # vim: tabstop=4 expandtab shiftwidth=4