added first browser test, tests if circles opens out of ot the box

This commit is contained in:
Kevin Froman 2020-02-28 03:49:30 -06:00
parent b62e613e8e
commit 02fa6dd558
7 changed files with 73 additions and 4 deletions

View file

@ -4,6 +4,7 @@ Identify a data directory for Onionr
"""
import os
import platform
import uuid
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -27,6 +28,7 @@ def identify_home() -> str:
"""
path = os.environ.get('ONIONR_HOME', None)
if path is not None and not os.getcwd().endswith('src') \
and 'test' not in path:
path = 'src/' + path