Skip to content

Commit c1bf72b

Browse files
committed
Updated CombinedFunctionMagnet attachement test
1 parent 47c116f commit c1bf72b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_load_quad.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def test_combined_function_magnets(magnet_file, config_root_dir):
100100
assert( sUnits[0] == 'rad' and sUnits[1] == 'rad' and sUnits[2] == 'm-1' )
101101
assert( hUnits[0] == 'A' and hUnits[1] == 'A' and hUnits[2] == 'A')
102102
ms = sh.attach(DummyPeer(),strengths,currents)
103-
hCorr = ms[0]
104-
vCorr = ms[1]
105-
sqCorr = ms[2]
103+
hCorr = ms[1]
104+
vCorr = ms[2]
105+
sqCorr = ms[3]
106106
hCorr.strength.set(0.000020)
107107
vCorr.strength.set(-0.000015)
108108
sqCorr.strength.set(0.000100)

0 commit comments

Comments
 (0)