+ added more tests
* fixed chdir home bug * fixed some tests creating normal data dir
This commit is contained in:
parent
665cb0c732
commit
60d2ebfaed
20 changed files with 139 additions and 55 deletions
|
@ -29,10 +29,6 @@ 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
|
||||
|
||||
if path is None:
|
||||
system = platform.system()
|
||||
if system == 'Linux':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue