Commit f91f9567 authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[2157] statistics counter check in lettuce corrected

it didn't work if only 'counter' parameter is given
parent 3476033e
......@@ -422,8 +422,7 @@ def check_statistics(step, counter, category, zone, gtltbt, number, upper):
zone_str = " for zone %s" % zone
for level in depth:
output = find_value(output, level)
else:
found = find_value(output, counter)
found = find_value(output, counter)
assert found is not None, \
'Not found statistics counter %s%s%s' % \
(counter, category_str, zone_str)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment