Skip to content

Commit

Permalink
changed test file name to better reflect contents
Browse files Browse the repository at this point in the history
  • Loading branch information
antonhibl committed Jan 24, 2024
1 parent e3d8363 commit 4492cc6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/pytests/test_pvl_load.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import pytest
import pvl
import ale

# I need to figure out how to get some kind of test cube in the test without
# referencing it locally
testCube = "/Users/ahibl/astro_efs/test_imgs/uvvis/LUA3107H.161.clem.cub_ISIS.cub"

@pytest.fixture
def test_loads():
isis_kerns = ale.util.generate_kernels_from_cube(testCube, expand=True)
pvl_obj = pvl.load(testCube)
res = ale.loads(pvl_obj, props={"kernels": isis_kerns}, only_naif_spice=True)
return res

def test_pass(test_loads):
pass

0 comments on commit 4492cc6

Please sign in to comment.