Commit d37746c6 authored by Jérome Perrin's avatar Jérome Perrin

analyze: always display processed tid range (even ø)

To keep a consistent output.
parent 5e2ed5e7
# -*- coding: utf-8 -*-
# Copyright (C) 2019 Nexedi SA and Contributors.
#
# This program is free software: you can Use, Study, Modify and Redistribute
......@@ -69,5 +70,5 @@ __main__.Object,56,1880,54.366686%,33.571429,9,303,47,1577
csv=False,
)
captured = capsys.readouterr()
assert "No transactions processed\n" == captured.out
assert "# ø\nNo transactions processed\n" == captured.out.encode('utf-8')
assert captured.err == ""
......@@ -97,6 +97,7 @@ def report(rep, csv=False):
delta_fs = rep.delta_fs
if not csv:
if rep.TIDS == 0:
print ("# ø")
print ("No transactions processed")
return
......
Markdown is supported
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