##// END OF EJS Templates
tests: move assertion closer to want/got declarations in test-parseindex2.py...
Augie Fackler -
r39028:94cff858 default
parent child Browse files
Show More
@@ -186,11 +186,10 b' class parseindex2tests(unittest.TestCase'
186
186
187 py_res_1 = py_parseindex(data_inlined, True)
187 py_res_1 = py_parseindex(data_inlined, True)
188 c_res_1 = parse_index2(data_inlined, True)
188 c_res_1 = parse_index2(data_inlined, True)
189 self.assertEqual(py_res_1, c_res_1) # inline data
189
190
190 py_res_2 = py_parseindex(data_non_inlined, False)
191 py_res_2 = py_parseindex(data_non_inlined, False)
191 c_res_2 = parse_index2(data_non_inlined, False)
192 c_res_2 = parse_index2(data_non_inlined, False)
192
193 self.assertEqual(py_res_1, c_res_1) # inline data
194 self.assertEqual(py_res_2, c_res_2) # no inline data
193 self.assertEqual(py_res_2, c_res_2) # no inline data
195
194
196 ix = parsers.parse_index2(data_inlined, True)[0]
195 ix = parsers.parse_index2(data_inlined, True)[0]
General Comments 0
You need to be logged in to leave comments. Login now