##// END OF EJS Templates
tests: rename variables in revlog index parse test for clarity...
Augie Fackler -
r39029:ee0720e8 default
parent child Browse files
Show More
@@ -184,13 +184,13 b' class parseindex2tests(unittest.TestCase'
184 # original Python implementation of parseindex, both with and
184 # original Python implementation of parseindex, both with and
185 # without inlined data.
185 # without inlined data.
186
186
187 py_res_1 = py_parseindex(data_inlined, True)
187 want = py_parseindex(data_inlined, True)
188 c_res_1 = parse_index2(data_inlined, True)
188 got = parse_index2(data_inlined, True)
189 self.assertEqual(py_res_1, c_res_1) # inline data
189 self.assertEqual(want, got) # inline data
190
190
191 py_res_2 = py_parseindex(data_non_inlined, False)
191 want = py_parseindex(data_non_inlined, False)
192 c_res_2 = parse_index2(data_non_inlined, False)
192 got = parse_index2(data_non_inlined, False)
193 self.assertEqual(py_res_2, c_res_2) # no inline data
193 self.assertEqual(want, got) # no inline data
194
194
195 ix = parsers.parse_index2(data_inlined, True)[0]
195 ix = parsers.parse_index2(data_inlined, True)[0]
196 for i, r in enumerate(ix):
196 for i, r in enumerate(ix):
General Comments 0
You need to be logged in to leave comments. Login now