File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717import tfs
1818from pandas .testing import assert_frame_equal
1919
20+ from ir_amplitude_detuning .simulation .lhc_simulation import PATHS
2021from ir_amplitude_detuning .utilities .constants import NAME
2122from tests .conftest import assert_exists_and_not_empty , clone_acc_models
22- from ir_amplitude_detuning .simulation .lhc_simulation import PATHS
2323
2424if TYPE_CHECKING :
2525 from collections .abc import Iterable
@@ -321,7 +321,7 @@ def _clear_correction_output(output_dir: Path):
321321def _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 ---
You can’t perform that action at this time.
0 commit comments