Merge "[Scenario][Reports] Improve scenario output format"
This commit is contained in:
commit
37c105741a
@ -1599,12 +1599,14 @@ class FakeScenario(scenario.Scenario):
|
|||||||
return {"data": {"a": 1}, "error": None}
|
return {"data": {"a": 1}, "error": None}
|
||||||
|
|
||||||
def with_add_output(self):
|
def with_add_output(self):
|
||||||
self.add_output(additive={"title": "Additive", "chart": "Chart",
|
self.add_output(additive={"title": "Additive",
|
||||||
"description": "Additive description",
|
"description": "Additive description",
|
||||||
"items": [["a", 1]]},
|
"data": [["a", 1]],
|
||||||
complete={"title": "Complete", "widget": "Widget",
|
"chart_plugin": "FooPlugin"},
|
||||||
|
complete={"title": "Complete",
|
||||||
"description": "Complete description",
|
"description": "Complete description",
|
||||||
"data": [["a", [[1, 2], [2, 3]]]]})
|
"data": [["a", [[1, 2], [2, 3]]]],
|
||||||
|
"chart_plugin": "BarPlugin"})
|
||||||
|
|
||||||
def too_long(self, **kwargs):
|
def too_long(self, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user