(test)
| 253 | |
| 254 | @pytest.mark.parametrize("test", ["multiline", "singleline"], indirect=True) |
| 255 | def test_ctrl_f(test) -> None: |
| 256 | test.send_finished_statement('RETURN "databasesrule" AS a;\r') |
| 257 | assert ( |
| 258 | test.shell_process.expect_exact(["\u2502 databasesrule \u2502", pexpect.EOF]) |
| 259 | == 0 |
| 260 | ) |
| 261 | test.send_control_statement(KEY_ACTION.CTRL_R.value) |
| 262 | test.send_statement("database") |
| 263 | test.send_control_statement(KEY_ACTION.CTRL_F.value) |
| 264 | test.send_finished_statement(" \x1b[F\r") |
| 265 | assert ( |
| 266 | test.shell_process.expect_exact(["\u2502 databases rule \u2502", pexpect.EOF]) |
| 267 | == 0 |
| 268 | ) |
| 269 | |
| 270 | |
| 271 | @pytest.mark.parametrize("test", ["multiline", "singleline"], indirect=True) |
nothing calls this directly
no test coverage detected