Skip to content
Snippets Groups Projects
Commit 57fa2485 authored by acpaquette's avatar acpaquette
Browse files

Changed env var monkey patch from ISIS3DATA to ISISDATA

parent 05388f51
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ def test_kernel_from_cube_list(cube_kernels): ...@@ -164,7 +164,7 @@ def test_kernel_from_cube_list(cube_kernels):
def test_kernel_from_cube_list_expanded(monkeypatch, tmpdir, pvl_four_group, cube_kernels): def test_kernel_from_cube_list_expanded(monkeypatch, tmpdir, pvl_four_group, cube_kernels):
monkeypatch.setenv('ISISROOT', str(tmpdir)) monkeypatch.setenv('ISISROOT', str(tmpdir))
monkeypatch.setenv('ISIS3DATA', '/test/path') monkeypatch.setenv('ISISDATA', '/test/path')
with open(tmpdir.join('IsisPreferences'), 'w+') as pvl_isisroot_file: with open(tmpdir.join('IsisPreferences'), 'w+') as pvl_isisroot_file:
pvl_isisroot_file.write(pvl_four_group) pvl_isisroot_file.write(pvl_four_group)
...@@ -185,7 +185,7 @@ def test_kernel_from_cube_dict(cube_kernels): ...@@ -185,7 +185,7 @@ def test_kernel_from_cube_dict(cube_kernels):
def test_kernel_from_cube_dict_expanded(monkeypatch, tmpdir, pvl_four_group, cube_kernels): def test_kernel_from_cube_dict_expanded(monkeypatch, tmpdir, pvl_four_group, cube_kernels):
monkeypatch.setenv('ISISROOT', str(tmpdir)) monkeypatch.setenv('ISISROOT', str(tmpdir))
monkeypatch.setenv('ISIS3DATA', '/test/path') monkeypatch.setenv('ISISDATA', '/test/path')
with open(tmpdir.join('IsisPreferences'), 'w+') as pvl_isisroot_file: with open(tmpdir.join('IsisPreferences'), 'w+') as pvl_isisroot_file:
pvl_isisroot_file.write(pvl_four_group) pvl_isisroot_file.write(pvl_four_group)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment