From d7a6c14fe753e163a53b1397f9c1431fb36de884 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Wed, 16 Jul 2025 12:15:13 +0200 Subject: [PATCH] Update highlighter tests --- tests/test_gui/test_gui_dochighlighter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_gui/test_gui_dochighlighter.py b/tests/test_gui/test_gui_dochighlighter.py index 87aa6a71..ff3fe41d 100644 --- a/tests/test_gui/test_gui_dochighlighter.py +++ b/tests/test_gui/test_gui_dochighlighter.py @@ -37,7 +37,7 @@ T_HANDLE = "0123456789abc" @pytest.fixture() def syntax(nwGUI): """Create a syntax object for use with testing.""" - CONFIG.lightTheme = "tomorrow" + CONFIG.lightTheme = "default_light" CONFIG.themeMode = nwTheme.LIGHT CONFIG.dialogStyle = 3 @@ -48,8 +48,8 @@ def syntax(nwGUI): theme = SHARED.theme theme.loadTheme(force=True) - assert theme._guiPalette.base().color().getRgb() == (0xff, 0xff, 0xff, 0xff) - assert theme.syntaxTheme.text.getRgb() == (0x4d, 0x4d, 0x4c, 0xff) + assert theme._guiPalette.base().color().getRgb() == (0xfc, 0xfc, 0xfc, 0xff) + assert theme.syntaxTheme.text.getRgb() == (0x30, 0x30, 0x30, 0xff) doc = QTextDocument() syntax = GuiDocHighlighter(doc)