0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

fix: grid formatting in TypedForm

This commit is contained in:
2025-06-02 15:18:07 +02:00
committed by David Perl
parent 5188b38c86
commit 594912136e
6 changed files with 27 additions and 14 deletions

View File

@ -62,12 +62,11 @@ def example_md():
@pytest.fixture
def empty_metadata_widget():
def empty_metadata_widget(qtbot):
widget = ScanMetadata()
widget._additional_metadata._table_model._data = [["extra_field", "extra_data"]]
qtbot.addWidget(widget)
yield widget
widget._clear_grid()
widget.deleteLater()
@pytest.fixture