Skip to content

Commit

Permalink
Merge pull request #224 from sot/asp-l1-test-skip
Browse files Browse the repository at this point in the history
test_get_l0_images ends up trying to load mica/archive/asp1/archfiles…
  • Loading branch information
taldcroft authored Jun 30, 2020
2 parents 1c25dfd + a509ebb commit 01e44de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mica/archive/tests/test_aca_l0.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def test_l0_images_meta():
'TIME': np.float64(467055637.49031752)}

has_l0_2007_archive = os.path.exists(os.path.join(aca_l0.CONFIG['data_root'], '2007'))
has_asp_l1 = os.path.exists(os.path.join(asp_l1.CONFIG['data_root']))


@pytest.mark.skipif('not has_l0_2007_archive', reason='Test requires 2007 L0 archive')
@pytest.mark.skipif('not has_l0_2007_archive or not has_asp_l1', reason='Test requires 2007 L0 archive')
def test_get_l0_images():
"""
Do a validation test of get_l0_images:
Expand Down

0 comments on commit 01e44de

Please sign in to comment.