Commit 57fa2485 authored by acpaquette's avatar acpaquette
Browse files

Changed env var monkey patch from ISIS3DATA to ISISDATA

parent 05388f51
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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):
    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:
        pvl_isisroot_file.write(pvl_four_group)
@@ -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):
    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:
        pvl_isisroot_file.write(pvl_four_group)