mirror of https://github.com/zulip/zulip.git
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:
parent
cc8dd0e971
commit
dbc412b8eb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue