@@ -2954,7 +2954,7 @@ def test_pdep_arrhenius(self):
29542954 # Check that the reaction string is the same
29552955 assert repr (converted_obj ) == repr (ct_obj )
29562956 # Check that the Arrhenius rates are identical
2957- assert str (converted_obj .rates ) == str (ct_obj .rates )
2957+ assert str (converted_obj .rate . rates ) == str (ct_obj . rate .rates )
29582958
29592959 def test_multi_pdep_arrhenius (self ):
29602960 """
@@ -2975,7 +2975,7 @@ def test_multi_pdep_arrhenius(self):
29752975 # Check that the reaction string is the same
29762976 assert repr (converted_rxn ) == repr (ct_rxn )
29772977 # Check that the Arrhenius rates are identical
2978- assert str (converted_rxn .rates ) == str (ct_rxn .rates )
2978+ assert str (converted_rxn .rate . rates ) == str (ct_rxn . rate .rates )
29792979
29802980 def test_chebyshev (self ):
29812981 """
@@ -2996,18 +2996,18 @@ def test_falloff(self):
29962996 assert round (abs (ct_troe .rate .low_rate .pre_exponential_factor - self .ct_troe .rate .low_rate .pre_exponential_factor ), 3 ) == 0
29972997 assert ct_troe .rate .low_rate .temperature_exponent == self .ct_troe .rate .low_rate .temperature_exponent
29982998 assert ct_troe .rate .low_rate .activation_energy == self .ct_troe .rate .low_rate .activation_energy
2999- assert ct_troe .efficiencies == self .ct_troe .efficiencies
2999+ assert ct_troe .third_body . efficiencies == self .ct_troe . third_body .efficiencies
30003000
30013001 ct_third_body = self .thirdBody .to_cantera (self .species_list , use_chemkin_identifier = True )
30023002 assert type (ct_third_body .rate ) == type (self .ct_thirdBody .rate )
30033003 assert round (abs (ct_third_body .rate .pre_exponential_factor - self .ct_thirdBody .rate .pre_exponential_factor ), 3 ) == 0
30043004 assert ct_third_body .rate .temperature_exponent == self .ct_thirdBody .rate .temperature_exponent
30053005 assert ct_third_body .rate .activation_energy == self .ct_thirdBody .rate .activation_energy
3006- assert ct_third_body .efficiencies == self .ct_thirdBody .efficiencies
3006+ assert ct_third_body .third_body . efficiencies == self .ct_thirdBody . third_body .efficiencies
30073007
30083008 ct_lindemann = self .lindemann .to_cantera (self .species_list , use_chemkin_identifier = True )
30093009 assert type (ct_lindemann .rate ) == type (self .ct_lindemann .rate )
3010- assert ct_lindemann .efficiencies == self .ct_lindemann .efficiencies
3010+ assert ct_lindemann .third_body . efficiencies == self .ct_lindemann . third_body .efficiencies
30113011 assert str (ct_lindemann .rate .low_rate ) == str (self .ct_lindemann .rate .low_rate )
30123012 assert str (ct_lindemann .rate .high_rate ) == str (self .ct_lindemann .rate .high_rate )
30133013
0 commit comments