Fix error in previous commit

This commit is contained in:
Nick Hall 2017-03-06 22:17:42 +00:00
parent 3b9d97d348
commit 9cc770a70c
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ TEST_DIR = os.path.abspath(os.path.join(DATA_DIR, "tests"))
def call(*args):
""" Call Gramps to perform the action with out and err captured """
print("call:", args)
gramps = Gramps(user=User(auto_accept=True, quiet=True))
gramps = Gramps(user=User())
out, err = gramps.run(*args)
print("out:", out, "err:", err)
return out, err

View File

@ -223,7 +223,7 @@ def make_tst_function(tstfile, file_name):
#logger.info("\n**** %s ****", tstfile)
set_det_id(True)
with capture(None) as output:
self.user = User(quiet=True)
self.user = User()
self.database1 = import_as_dict(fn1, self.user,
skp_imp_adds=skp_imp_adds)
set_det_id(True)

View File

@ -41,8 +41,8 @@ def call(*args):
""" Call Gramps to perform the action with out and err captured """
if __debug__:
print ("call: %s", args)
gramps = Gramps(user=User(auto_accept=True, quiet=True))
# gramps = Gramps(user=User(auto_accept=True))
gramps = Gramps(user=User())
# gramps = Gramps(user=User())
out, err = gramps.run(*args)
# print("out:", out, "err:", err)
return out, err