Travis: use pip3; make gramps home; allow cli test to work if dir exists

This commit is contained in:
Doug Blank
2015-03-13 02:05:02 -04:00
parent 4eff49762f
commit 3cd8a8f38f
2 changed files with 9 additions and 5 deletions

View File

@@ -105,7 +105,10 @@ class Test(unittest.TestCase):
# (eg cleanout stale files from prior crash-runs)
def test3_files_in_import_dir(self):
ddir = os.path.join(TEMP_DIR, "import_dbdir")
os.makedirs(ddir)
try:
os.makedirs(ddir)
except:
pass
bogofiles = [os.path.join(ddir, fn) for fn in ("family.db", "lock")]
for fn in bogofiles:
with io.open(fn, "w") as f: