Fix error in previous commit
This commit is contained in:
parent
3b9d97d348
commit
9cc770a70c
@ -36,7 +36,7 @@ TEST_DIR = os.path.abspath(os.path.join(DATA_DIR, "tests"))
|
|||||||
def call(*args):
|
def call(*args):
|
||||||
""" Call Gramps to perform the action with out and err captured """
|
""" Call Gramps to perform the action with out and err captured """
|
||||||
print("call:", args)
|
print("call:", args)
|
||||||
gramps = Gramps(user=User(auto_accept=True, quiet=True))
|
gramps = Gramps(user=User())
|
||||||
out, err = gramps.run(*args)
|
out, err = gramps.run(*args)
|
||||||
print("out:", out, "err:", err)
|
print("out:", out, "err:", err)
|
||||||
return out, err
|
return out, err
|
||||||
|
@ -223,7 +223,7 @@ def make_tst_function(tstfile, file_name):
|
|||||||
#logger.info("\n**** %s ****", tstfile)
|
#logger.info("\n**** %s ****", tstfile)
|
||||||
set_det_id(True)
|
set_det_id(True)
|
||||||
with capture(None) as output:
|
with capture(None) as output:
|
||||||
self.user = User(quiet=True)
|
self.user = User()
|
||||||
self.database1 = import_as_dict(fn1, self.user,
|
self.database1 = import_as_dict(fn1, self.user,
|
||||||
skp_imp_adds=skp_imp_adds)
|
skp_imp_adds=skp_imp_adds)
|
||||||
set_det_id(True)
|
set_det_id(True)
|
||||||
|
@ -41,8 +41,8 @@ def call(*args):
|
|||||||
""" Call Gramps to perform the action with out and err captured """
|
""" Call Gramps to perform the action with out and err captured """
|
||||||
if __debug__:
|
if __debug__:
|
||||||
print ("call: %s", args)
|
print ("call: %s", args)
|
||||||
gramps = Gramps(user=User(auto_accept=True, quiet=True))
|
gramps = Gramps(user=User())
|
||||||
# gramps = Gramps(user=User(auto_accept=True))
|
# gramps = Gramps(user=User())
|
||||||
out, err = gramps.run(*args)
|
out, err = gramps.run(*args)
|
||||||
# print("out:", out, "err:", err)
|
# print("out:", out, "err:", err)
|
||||||
return out, err
|
return out, err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user