From a509ebbed3d52c1da266d86065b4fe753e14610e Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Tue, 23 Jun 2020 15:49:34 -0400 Subject: [PATCH] test_get_l0_images ends up trying to load mica/archive/asp1/archfiles.db3 --- mica/archive/tests/test_aca_l0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mica/archive/tests/test_aca_l0.py b/mica/archive/tests/test_aca_l0.py index c38a41a2..d9776324 100644 --- a/mica/archive/tests/test_aca_l0.py +++ b/mica/archive/tests/test_aca_l0.py @@ -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: