Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
project-ize kibana_dashboard
[releng.git]
/
utils
/
test
/
dashboard
/
dashboard
/
qtip
/
format.py
1
#! /usr/bin/env python
2
3
4
def format_qpi(testcase):
5
"""
6
Look for these and leave any of those:
7
details.index
8
9
If none are present, then return False
10
"""
11
details = testcase['details']
12
if 'index' not in details:
13
return False
14
15
for key, value in details.items():
16
if key != 'index':
17
del details[key]
18
19
return True