Skip to content

Commit ba6ae3d

Browse files
committed
len test
1 parent 8ac5445 commit ba6ae3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/examples/test_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
import tfs
1818
from pandas.testing import assert_frame_equal
1919

20+
from ir_amplitude_detuning.simulation.lhc_simulation import PATHS
2021
from ir_amplitude_detuning.utilities.constants import NAME
2122
from tests.conftest import assert_exists_and_not_empty, clone_acc_models
22-
from ir_amplitude_detuning.simulation.lhc_simulation import PATHS
2323

2424
if TYPE_CHECKING:
2525
from collections.abc import Iterable
@@ -321,7 +321,7 @@ def _clear_correction_output(output_dir: Path):
321321
def _check_correction_output(output_dir: Path, compare_dir: Path):
322322
"""Check that correction output files are created."""
323323
target_ids = _get_target_ids(compare_dir)
324-
assert target_ids == 3, "No settings found to compare test run to." # test sanity check
324+
assert len(target_ids) == 3, "No settings found to compare test run to." # test sanity check
325325

326326
for target_id in target_ids:
327327
# Compare Expected Settings ---

0 commit comments

Comments
 (0)