@@ -1670,15 +1670,15 @@ def test_remove_group(self):
16701670 assert rad_group .entries ["OJ" ].data is group_to_remove .data
16711671
16721672 # Remove an entry with a ThermoData object
1673- group_to_remove2 = rad_group .entries ["CsJ " ]
1673+ group_to_remove2 = rad_group .entries ["Cs_P " ]
16741674 rad_group .remove_group (group_to_remove2 )
16751675 # If group_to_remove was a data object, we point toward parent instead
1676- # RJ2_triplet pointed to CsJ , which had data
1677- # After we remove CsJ, RJ2_triplet points to the parent, which was RJ
1678- assert rad_group .entries ["RJ2_triplet " ].data == group_to_remove2 .parent .label
1676+ # CsCsJ pointed to Cs_P , which had data.
1677+ # After we remove Cs_P, CsCsJ points to the parent, which was CsJ
1678+ assert rad_group .entries ["CsCsJ " ].data == group_to_remove2 .parent .label
16791679 # If the parent pointed toward group_to_remove, we need should have copied data object
1680- # RJ used to just point at CJ, which pointed at CsJ. After we remove CsJ,
1681- # RJ should contain the data copied from CsJ
1680+ # CsJ (the parent) used to just point at Cs_P.
1681+ # After we remove Cs_P, CsJ should contain the data copied from Cs_P
16821682 Tlist = [300 , 400 , 500 , 600 , 800 , 1000 , 1500 ]
16831683 assert not isinstance (group_to_remove2 .parent .data , str )
16841684 assert group_to_remove2 .parent .data .get_enthalpy (298 ) == group_to_remove2 .data .get_enthalpy (298 )
0 commit comments