Skip to content
Snippets Groups Projects

Build 2024.10.01

Merged Christopher Randolph Rhodes requested to merge build-2024.10.01 into staging
2 files
+ 13
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -77,9 +77,21 @@ def setup_test_data():
:return:
meta (dict) of test data and paths
"""
def _winpath(f):
if not isinstance(f, str):
return f
p = f.split('/')
if len(p) > 1:
p[1] = p[1] + ':'
return '\\'.join(p[1:])
else:
return f
# places to look for test data
data_paths = [
os.environ.get('UNITTEST_DATA_ROOT'),
_winpath(os.environ.get('UNITTEST_DATA_ROOT')),
Path.home() / 'model_server' / 'testing',
os.getcwd(),
]
Loading