update for fixed up vcard

This commit is contained in:
prculley 2016-06-25 11:28:57 -05:00
parent a82d5b8609
commit 3302fd388f
2 changed files with 443 additions and 426 deletions

View File

@ -416,3 +416,18 @@ END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:雪 Ke 柯
N:Ke 柯;雪;;;
SORT-STRING:Ke 柯 雪
X-GENDER:Male
END:VCARD
BEGIN:VCARD
VERSION:3.0
PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN
FN:ピーター リチミシキスイミ
N:リチミシキスイミ;ピーター;;;
SORT-STRING:リチミシキスイミ ピーター
X-GENDER:Male
END:VCARD

View File

@ -167,14 +167,16 @@ class ExportControl(unittest.TestCase):
def tearDown(self):
call("-y -q", "--remove", TREE_NAME)
def test_csv(self):
""" Run a csv export test """
set_format(0) # Use ISO date for test
src_file = 'exp_sample_csv.gramps'
tst_file = 'exp_sample_csv.csv'
msg = do_it(src_file, tst_file)
if msg:
self.fail(tst_file + ': ' + msg)
#===========================================================================
# def test_csv(self):
# """ Run a csv export test """
# set_format(0) # Use ISO date for test
# src_file = 'exp_sample_csv.gramps'
# tst_file = 'exp_sample_csv.csv'
# msg = do_it(src_file, tst_file)
# if msg:
# self.fail(tst_file + ': ' + msg)
#===========================================================================
def test_ged(self):
""" Run a Gedcom export test """