Skip to content

Commit

Permalink
fix one more missing reference_location
Browse files Browse the repository at this point in the history
  • Loading branch information
kosack committed Sep 27, 2023
1 parent 381e6ee commit 9029394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ctapipe/instrument/tests/test_subarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_hdf_same_camera(tmp_path, prod5_lst, prod5_mst_flashcam, reference_loca
assert array == read


def test_hdf_duplicate_string_repr(tmp_path, prod5_lst):
def test_hdf_duplicate_string_repr(tmp_path, prod5_lst, reference_location):
"""Test writing and reading of a subarray with two telescopes that
are different but have the same name.
"""
Expand All @@ -199,6 +199,7 @@ def test_hdf_duplicate_string_repr(tmp_path, prod5_lst):
"test array",
tel_positions={1: [0, 0, 0] * u.m, 2: [50, 0, 0] * u.m},
tel_descriptions={1: tel1, 2: tel2},
reference_location=reference_location,
)

# defensive checks to make sure we are actually testing this
Expand Down

0 comments on commit 9029394

Please sign in to comment.