Add unit tests for panels (dashlist)

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-05-11 15:01:23 -04:00
parent 779abee654
commit a04d18ce31
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{
"dashboard": {
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"editable": true,
"error": false,
"limit": 10,
"mode": "starred",
"query": "",
"span": 12,
"tag": "",
"title": "Starred Dashboards",
"type": "dashlist"
}
],
"showTitle": false,
"title": "New row"
}
],
"title": "New dashboard"
}
}

View File

@ -0,0 +1,9 @@
dashboard:
title: New dashboard
rows:
- title: New row
height: 250px
panels:
- title: Starred Dashboards
type: dashlist
mode: starred