test_narrow: Fix missing found_oldest assert in tests.

Apparently, we weren't actually checking that found_oldest had the
correct value; fortunately, this didn't actually result in a problem,
because the values were always correct.  But this will be important as
we start extending this test.
This commit is contained in:
Tim Abbott 2018-10-26 17:30:49 -07:00
parent cc8dd0e971
commit dbc412b8eb
1 changed files with 1 additions and 0 deletions

View File

@ -528,6 +528,7 @@ class PostProcessTest(ZulipTestCase):
self.assertEqual(info['rows'], out_rows) self.assertEqual(info['rows'], out_rows)
self.assertEqual(info['found_anchor'], found_anchor) self.assertEqual(info['found_anchor'], found_anchor)
self.assertEqual(info['found_newest'], found_newest) self.assertEqual(info['found_newest'], found_newest)
self.assertEqual(info['found_oldest'], found_oldest)
# typical 2-sided query # typical 2-sided query
anchor = 10 anchor = 10