7648: [Unit test] database dir and environment; https://gramps-project.org/bugs/view.php?id=7648#c36301 ; works on jralls' config, not yet on mine
This commit is contained in:
parent
a055aaba8a
commit
41cb84a7cc
@ -43,6 +43,13 @@ test_ged = """0 HEAD
|
|||||||
0 TRLR
|
0 TRLR
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# see gramps.grampsapp.py
|
||||||
|
## hack to avoid mentioning 'utf8' encoding everywhere unicode or str is is used
|
||||||
|
if sys.version_info[0] < 3:
|
||||||
|
reload(sys)
|
||||||
|
sys.setdefaultencoding('utf8')
|
||||||
|
##
|
||||||
|
|
||||||
ddir = os.path.dirname(__file__)
|
ddir = os.path.dirname(__file__)
|
||||||
min1r = os.path.join(ddir, "min1r.ged")
|
min1r = os.path.join(ddir, "min1r.ged")
|
||||||
out_ged = os.path.join(ddir, "test_out.ged")
|
out_ged = os.path.join(ddir, "test_out.ged")
|
||||||
|
Loading…
Reference in New Issue
Block a user