mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-07-26 21:22:58 +02:00
chore: fix formatter
This commit is contained in:
@@ -514,9 +514,7 @@ class BecConsole(BECWidget, QWidget):
|
||||
"""
|
||||
self._startup_cmd = cmd
|
||||
|
||||
def write(
|
||||
self, data: str, send_return: bool = True, regardless_of_ownership: bool = False
|
||||
):
|
||||
def write(self, data: str, send_return: bool = True, regardless_of_ownership: bool = False):
|
||||
"""
|
||||
Send data to the console
|
||||
|
||||
|
||||
@@ -229,7 +229,9 @@ def test_bec_console_starts_with_default_zoom_level(qtbot, monkeypatch):
|
||||
|
||||
monkeypatch.setattr(bec_console_module, "_BecTermClass", RecordingTerminal)
|
||||
|
||||
widget = BecConsole(client=mocked_client, gui_id="console_zoom_default", terminal_id="zoom_default")
|
||||
widget = BecConsole(
|
||||
client=mocked_client, gui_id="console_zoom_default", terminal_id="zoom_default"
|
||||
)
|
||||
qtbot.addWidget(widget)
|
||||
|
||||
assert widget.zoom_level == 1
|
||||
|
||||
@@ -104,13 +104,7 @@ class TestDeveloperViewInitialization:
|
||||
|
||||
# Check for expected toolbar actions
|
||||
toolbar_components = developer_view.toolbar.components
|
||||
expected_actions = [
|
||||
"save",
|
||||
"save_as",
|
||||
"run",
|
||||
"stop",
|
||||
"vim",
|
||||
]
|
||||
expected_actions = ["save", "save_as", "run", "stop", "vim"]
|
||||
|
||||
for action_name in expected_actions:
|
||||
assert toolbar_components.exists(action_name)
|
||||
|
||||
Reference in New Issue
Block a user