Ensure that swapping autosuggestions does not break with other providers
()
| 249 | |
| 250 | |
| 251 | def test_other_providers(): |
| 252 | """Ensure that swapping autosuggestions does not break with other providers""" |
| 253 | provider = AutoSuggestFromHistory() |
| 254 | ip = get_ipython() |
| 255 | ip.auto_suggest = provider |
| 256 | event = Mock() |
| 257 | event.current_buffer = Buffer() |
| 258 | assert swap_autosuggestion_up(event) is None |
| 259 | assert swap_autosuggestion_down(event) is None |
| 260 | |
| 261 | |
| 262 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected
searching dependent graphs…