Fix history pane, some small cleanups
This commit is contained in:
parent
f023224074
commit
ab1af80d10
12 changed files with 47 additions and 114 deletions
|
|
@ -3,7 +3,7 @@ import pytest
|
|||
from PySide6.QtGui import QTextCursor
|
||||
from bouquin.markdown_editor import MarkdownEditor
|
||||
from bouquin.theme import ThemeManager, ThemeConfig, Theme
|
||||
|
||||
from bouquin.find_bar import FindBar
|
||||
|
||||
@pytest.fixture
|
||||
def editor(app, qtbot):
|
||||
|
|
@ -14,9 +14,6 @@ def editor(app, qtbot):
|
|||
return ed
|
||||
|
||||
|
||||
from bouquin.find_bar import FindBar
|
||||
|
||||
|
||||
@pytest.mark.gui
|
||||
def test_findbar_basic_navigation(qtbot, editor):
|
||||
editor.from_markdown("alpha\nbeta\nalpha\nGamma\n")
|
||||
|
|
@ -42,7 +39,6 @@ def test_findbar_basic_navigation(qtbot, editor):
|
|||
|
||||
|
||||
def test_show_bar_seeds_selection(qtbot, editor):
|
||||
from PySide6.QtGui import QTextCursor
|
||||
|
||||
editor.from_markdown("alpha beta")
|
||||
c = editor.textCursor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue