diff --git a/unittests/test_tool.py b/unittests/test_tool.py index 5ffb9a4572db07deb22f35ab05a00d87da09abb6..13beab16edad343bfb191421241fe709cb36e9ff 100755 --- a/unittests/test_tool.py +++ b/unittests/test_tool.py @@ -615,7 +615,7 @@ def change_identifiable_prop(ident): def change_non_identifiable_prop(ident): # the checks in here are only to make sure we change the record as we intend to - meas = ident._records[-4] + meas = ident._records[-1] assert meas.parents[0].name == "Measurement" resps = meas.properties[-1] assert resps.name == "responsible"