Skip to content
Snippets Groups Projects

Implement ProtocolTemplateEditor

Merged Samuel GAIST requested to merge 210_implement_protocoltemplate_editor into v2
2 files
+ 7
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -109,10 +109,7 @@ class TestMockEditor:
field.format_name = "value32"
field.format_type = "float32"
assert widget.dump_json() == {
"field": {"value32": "float32"},
"description": "",
}
assert widget.dump_json() == {"field": {"value32": "float32"}}
qtbot.mouseClick(widget.add_field_button, QtCore.Qt.LeftButton)
fields = widget.findChildren(FieldWidget)
@@ -125,6 +122,5 @@ class TestMockEditor:
field.format_type = "float64"
assert widget.dump_json() == {
"field": {"value32": "float32", "value64": "float64"},
"description": "",
"field": {"value32": "float32", "value64": "float64"}
}
Loading