We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48b3a3 commit b91bb75Copy full SHA for b91bb75
tests/test_lattice_data_source.py
@@ -115,13 +115,13 @@ def test_lat_get_value():
115
atlds = atip.sim_data_sources.ATLatticeDataSource(atsim)
116
assert atlds.get_value("dispersion") == 2.5
117
atlds.get_value("x")
118
- assert atsim.get_orbit.called_with("x")
+ atsim.get_orbit.assert_called_with("x")
119
atlds.get_value("phase_x")
120
- assert atsim.get_orbit.called_with("px")
+ atsim.get_orbit.assert_called_with("px")
121
atlds.get_value("y")
122
- assert atsim.get_orbit.called_with("y")
+ atsim.get_orbit.assert_called_with("y")
123
atlds.get_value("phase_y")
124
- assert atsim.get_orbit.called_with("py")
+ atsim.get_orbit.assert_called_with("py")
125
126
127
@pytest.mark.parametrize(
0 commit comments