Skip to content

Commit e5869fc

Browse files
committed
tests
1 parent c00e6fb commit e5869fc

File tree

3 files changed

+809
-1
lines changed

3 files changed

+809
-1
lines changed

tests/unit/test_detuning_calculations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def test_calculate_correction_exact_no_constraints(self, mock_build_matrix, meth
9494
result = calculate_correction(mock_target, method=method)
9595

9696
# Check the results ---
97-
assert mock_build_matrix.called_with(mock_target)
97+
mock_build_matrix.assert_called_with(mock_target)
98+
9899
assert isinstance(result, pd.Series)
99100
assert len(result) == 2
100101

0 commit comments

Comments
 (0)