Skip to content

Commit

Permalink
Fix test that fails (#166)
Browse files Browse the repository at this point in the history
roywilly authored May 2, 2023
1 parent 405dfd0 commit 359ba1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_uploader.py
Original file line number Diff line number Diff line change
@@ -260,6 +260,10 @@ def test_seismic_openvds_file(token):
os.remove(exported_filepath)
python_path = os.path.dirname(sys.executable)
path_to_SEGYExport = os.path.join(python_path, '..', 'bin', 'SEGYExport')
if sys.platform.startswith("win"):
path_to_SEGYExport = path_to_SEGYExport + ".exe"
if not os.path.isfile(path_to_SEGYExport):
path_to_SEGYExport = os.path.join(python_path, '..', 'shims', 'SEGYExport')
cmdstr = ' '.join([path_to_SEGYExport,
'--url', url,
'--connection', url_conn,

0 comments on commit 359ba1e

Please sign in to comment.