find window unit tests
@@ -36,9 +36,9 @@ class FindWindowTestCases(app.fake_curses_testing.FakeCursesTestCase):
def test_find(self):
self.runWithFakeInputs([
self.displayCheck(-1, 0, [" "]),
- CTRL_F, self.displayCheck(-1, 0, ["Find: "]), CTRL_J,
+ CTRL_F, self.displayCheck(-3, 0, ["Find: "]), CTRL_J,
self.displayCheck(-1, 0, [" "]),
- CTRL_F, self.displayCheck(-1, 0, ["Find: "]),
+ CTRL_F, self.displayCheck(-3, 0, ["Find: "]),
CTRL_I, self.displayCheck(-3, 0, ["Find: ", "Replace: ", "["]),
#KEY_BTAB, KEY_BTAB, self.displayCheck(-1, 0, ["Find: "]),
CTRL_Q])
@@ -50,12 +50,12 @@ class FindWindowTestCases(app.fake_curses_testing.FakeCursesTestCase):
self.displayCheckStyle(-2, 0, 1, 10, app.prefs.color['status_line']),
# Basic open and close.
- CTRL_F, self.displayCheck(-1, 0, ["Find: "]),
+ CTRL_F, self.displayCheck(-3, 0, ["Find: "]),
KEY_ESCAPE, curses.ERR, self.displayCheck(-3, 0, [" ", " ", " "]),
self.displayCheckStyle(-2, 0, 1, 10, app.prefs.color['status_line']),
# Open, expand, and close.
- CTRL_F, self.displayCheck(-1, 0, ["Find: "]),
+ CTRL_F, self.displayCheck(-3, 0, ["Find: "]),
CTRL_I, self.displayCheck(-3, 0, ["Find: ", "Replace: ", "["]),
KEY_ESCAPE, curses.ERR, self.displayCheck(-3, 0, [" ", " ", " "]),
self.displayCheckStyle(-2, 0, 1, 10, app.prefs.color['status_line']),
