File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ dev = [
4646]
4747
4848[project .scripts ]
49- # Do we want an entry into atip as well?
49+ atip = " atip.__main__:main "
5050virtac = " virtac.__main__:main"
5151
5252[project .urls ]
Original file line number Diff line number Diff line change @@ -115,13 +115,13 @@ def test_lat_get_value():
115115 atlds = atip .sim_data_sources .ATLatticeDataSource (atsim )
116116 assert atlds .get_value ("dispersion" ) == 2.5
117117 atlds .get_value ("x" )
118- assert atsim .get_orbit .called_with ("x" )
118+ atsim .get_orbit .assert_called_with ("x" )
119119 atlds .get_value ("phase_x" )
120- assert atsim .get_orbit .called_with ("px" )
120+ atsim .get_orbit .assert_called_with ("px" )
121121 atlds .get_value ("y" )
122- assert atsim .get_orbit .called_with ("y" )
122+ atsim .get_orbit .assert_called_with ("y" )
123123 atlds .get_value ("phase_y" )
124- assert atsim .get_orbit .called_with ("py" )
124+ atsim .get_orbit .assert_called_with ("py" )
125125
126126
127127@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments