Skip to content

Commit 86c01ec

Browse files
committed
fix tests
1 parent 1322f4c commit 86c01ec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

stixcore/processing/tests/test_publish.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,14 @@ def test_publish_fits_to_esa_incomplete(product, out_dir):
125125
product.raw = ["packet1.xml", "packet2.xml"]
126126
product.parent = ["packet1.xml", "packet2.xml"]
127127
product.level = "L1"
128+
product.LEVEL = "L1"
128129
product.service_type = 21
129130
product.service_subtype = 6
130131
product.ssid = 31
131132
product.fits_daily_file = True
132133
product.type = "ql"
133134
product.name = "background"
135+
product.NAME = "background"
134136
product.obt_beg = beg
135137
product.obt_end = end
136138
product.date_obs = beg
@@ -233,6 +235,7 @@ def test_fits_incomplete_switch_over(out_dir):
233235
product.parent = ["packet1.xml", "packet2.xml"]
234236
product.level = "L1"
235237
product.LEVEL = "L1"
238+
product.NAME = "background"
236239
product.service_type = 21
237240
product.service_subtype = 6
238241
product.ssid = 31
@@ -316,7 +319,7 @@ def test_fits_incomplete_switch_over(out_dir):
316319

317320

318321
@pytest.mark.skipif(sys.platform.startswith("win"), reason="does not run on windows")
319-
@pytest.mark.skipif(sys.platform != "Darwin", reason="does not run on mac")
322+
@pytest.mark.skipif(sys.platform == "Darwin", reason="does not run on mac")
320323
def test_fits_incomplete_switch_over_remove_dup_files(out_dir):
321324
test_fits_incomplete_switch_over(out_dir)
322325

0 commit comments

Comments
 (0)