@@ -89,34 +89,46 @@ def testADF_ADF2013_01_dvb_gopt_b_unconverged_adfout(logfile):
8989 """An unconverged geometry optimization to test for empty optdone (see #103 for details)."""
9090 assert hasattr (logfile .data , 'optdone' ) and not logfile .data .optdone
9191
92- # def testADF_ADF2013_01_stopiter_dvb_sp_adfout(logfile):
93- # """Check to ensure that an incomplete SCF is handled correctly."""
94- # assert len(logfile.data.scfvalues[0]) == 10
92+ def testADF_ADF2013_01_stopiter_dvb_sp_adfout (logfile ):
93+ """This logfile has not SCF test lines so we have no way to check what happens."""
94+ # This is what we would have checked:
95+ # len(logfile.data.scfvalues[0]) == 10
96+ assert not hasattr (logfile .data , "scfvalues" )
9597
9698def testADF_ADF2013_01_stopiter_dvb_sp_b_adfout (logfile ):
9799 """Check to ensure that an incomplete SCF is handled correctly."""
98100 # Why is this not 3?
99101 assert len (logfile .data .scfvalues [0 ]) == 2
100102
101- # def testADF_ADF2013_01_stopiter_dvb_sp_c_adfout(logfile):
102- # """Check to ensure that an incomplete SCF is handled correctly."""
103- # assert len(logfile.data.scfvalues[0]) == 6
104-
105- # def testADF_ADF2013_01_stopiter_dvb_sp_d_adfout(logfile):
106- # """Check to ensure that an incomplete SCF is handled correctly."""
107- # assert len(logfile.data.scfvalues[0]) == 7
108-
109- # def testADF_ADF2013_01_stopiter_dvb_un_sp_adfout(logfile):
110- # """Check to ensure that an incomplete SCF is handled correctly."""
111- # assert len(logfile.data.scfvalues[0]) == 7
112-
113- # def testADF_ADF2013_01_stopiter_dvb_un_sp_c_adfout(logfile):
114- # """Check to ensure that an incomplete SCF is handled correctly."""
115- # assert len(logfile.data.scfvalues[0]) == 10
116-
117- # def testADF_ADF2013_01_stopiter_MoOCl4_sp_adfout(logfile):
118- # """Check to ensure that an incomplete SCF is handled correctly."""
119- # assert len(logfile.data.scfvalues[0]) == 11
103+ def testADF_ADF2013_01_stopiter_dvb_sp_c_adfout (logfile ):
104+ """This logfile has not SCF test lines so we have no way to check what happens."""
105+ # This is what we would have checked:
106+ # len(logfile.data.scfvalues[0]) == 6
107+ assert not hasattr (logfile .data , "scfvalues" )
108+
109+ def testADF_ADF2013_01_stopiter_dvb_sp_d_adfout (logfile ):
110+ """This logfile has not SCF test lines so we have no way to check what happens."""
111+ # This is what we would have checked:
112+ # len(logfile.data.scfvalues[0]) == 7
113+ assert not hasattr (logfile .data , "scfvalues" )
114+
115+ def testADF_ADF2013_01_stopiter_dvb_un_sp_adfout (logfile ):
116+ """This logfile has not SCF test lines so we have no way to check what happens."""
117+ # This is what we would have checked:
118+ # len(logfile.data.scfvalues[0]) == 7
119+ assert not hasattr (logfile .data , "scfvalues" )
120+
121+ def testADF_ADF2013_01_stopiter_dvb_un_sp_c_adfout (logfile ):
122+ """This logfile has not SCF test lines so we have no way to check what happens."""
123+ # This is what we would have checked:
124+ # len(logfile.data.scfvalues[0]) == 10
125+ assert not hasattr (logfile .data , "scfvalues" )
126+
127+ def testADF_ADF2013_01_stopiter_MoOCl4_sp_adfout (logfile ):
128+ """This logfile has not SCF test lines so we have no way to check what happens."""
129+ # This is what we would have checked:
130+ # len(logfile.data.scfvalues[0]) == 11
131+ assert not hasattr (logfile .data , "scfvalues" )
120132
121133# DALTON #
122134
0 commit comments