Skip to content

Commit 85625f0

Browse files
committed
Add a test
1 parent 016eebb commit 85625f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ccdproc/tests/test_combiner.py

+5
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,13 @@ def test_combine_image_file_collection_input(tmp_path):
495495

496496
comb_ccds = combine(ifc.ccds(), method="average")
497497

498+
comb_string = combine(
499+
",".join(ifc.files_filtered(include_path=True)), method="average"
500+
)
501+
498502
np.testing.assert_allclose(ccd.data, comb_files.data)
499503
np.testing.assert_allclose(ccd.data, comb_ccds.data)
504+
np.testing.assert_allclose(ccd.data, comb_string.data)
500505

501506
with pytest.raises(FileNotFoundError):
502507
# This should fail because the test is not running in the

0 commit comments

Comments
 (0)