From: fmenguy Date: Tue, 8 Jun 2021 07:18:33 +0000 (+0200) Subject: Fix pps error message in behave tests X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4a354a2fa8444b46f76923e3d0d3232049202542;p=nfvbench.git Fix pps error message in behave tests Change-Id: I2f050f8a6f193c4e04ac8a427aedb7c241633b73 Signed-off-by: fmenguy --- diff --git a/behave_tests/features/steps/steps.py b/behave_tests/features/steps/steps.py index f4dda58..5762fa2 100644 --- a/behave_tests/features/steps/steps.py +++ b/behave_tests/features/steps/steps.py @@ -343,7 +343,7 @@ def throughput_comparison(context, old_throughput_pps=None, threshold=None, refe threshold) * old_throughput_pps: raise AssertionError( "Current run throughput {current_throughput_pps} is not over {threshold} " - " of previous value ({old_throughput_pps}pps)".format( + " of previous value ({old_throughput_pps})".format( current_throughput_pps=Formatter.suffix('pps')( Formatter.standard(current_throughput_pps)), threshold=threshold, old_throughput_pps=Formatter.suffix('pps')(