Skip to content

Commit a4eeed5

Browse files
committed
fix formatting issues
Signed-off-by: hwassman <[email protected]>
1 parent ee02042 commit a4eeed5

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

tests/test_opentsdb.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def query_raw_data_setup():
119119
}
120120
jreq1 = {'start': 1739214930519, 'end': 1739215230519, 'arrays': True,
121121
'inputQuery': {'aggregator': 'noop', 'downsample': '1m-avg',
122-
'filters': [
122+
'filters': [
123123
{'filter': 'scale-11', 'groupBy': False,
124124
'tagk': 'node', 'type': 'pm_filter'
125125
}],
@@ -129,33 +129,32 @@ def query_raw_data_setup():
129129
}
130130
jreq2 = {'start': 1739214930519, 'end': 1739215230519, 'arrays': True,
131131
'inputQuery': {'aggregator': 'noop', 'downsample': '1m-avg',
132-
'filters': [
132+
'filters': [
133133
{'filter': 'scale-11', 'groupBy': False,
134134
'tagk': 'node', 'type': 'pm_filter'
135135
}],
136-
'metric': 'cpu_system', 'index': 0,
137-
'shouldComputeRate': True, 'isCounter': True
136+
'metric': 'cpu_system', 'index': 0,
137+
'shouldComputeRate': True, 'isCounter': True
138138
}
139139
}
140-
jreq3 = {'start':1746277483949, 'end': None,
141-
'inputQuery': {'aggregator': 'noop', 'downsampleAggregator': 'avg',
140+
jreq3 = {'start': 1746277483949, 'end': None,
141+
'inputQuery': {'aggregator': 'noop', 'downsampleAggregator': 'avg',
142142
'downsampleFillPolicy': 'none',
143143
'metric': 'cpu_contexts',
144-
'disableDownsampling': True,
144+
'disableDownsampling': True,
145145
'explicitTags': True, 'index': 0
146146
}
147147
}
148-
jreq4 = {'start':1746277483949, 'end': None,
149-
'inputQuery': {'aggregator': 'noop', 'downsampleAggregator': 'avg',
148+
jreq4 = {'start': 1746277483949, 'end': None,
149+
'inputQuery': {'aggregator': 'noop', 'downsampleAggregator': 'avg',
150150
'downsampleFillPolicy': 'none',
151151
'metric': 'cpu_contexts',
152-
'disableDownsampling': True,
152+
'disableDownsampling': True,
153153
'explicitTags': False, 'index': 0
154154
}
155155
}
156156

157157

158-
159158
@with_setup(my_setup)
160159
def test_case01():
161160
ts = TimeSeries(col3, dps2, filtersMap, labels)

0 commit comments

Comments
 (0)