From abbd8ce62ba662cd2659589a9996e827d13ad061 Mon Sep 17 00:00:00 2001 From: yuyang Date: Tue, 20 Dec 2016 00:37:59 +0800 Subject: Add flake8 style config and for POSCA JIRA: BOTTLENECK-100 Adding flake8 configuration and fix for POSCA Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b Signed-off-by: yuyang --- testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py') diff --git a/testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py b/testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py index 5de25949..2a119413 100644 --- a/testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py +++ b/testsuites/posca/testcase_script/posca_factor_rx_pkt_size.py @@ -115,7 +115,7 @@ def posca_run(con_dic): bandwidth, latency, cpu_load) if (cpu_load < con_dic['test_cpu_load\ ']) and (latency < con_dic['test_latency']): - if (abs(bandwidth_tmp-bandwidth)/bandwidth < 0.05): + if (abs(bandwidth_tmp - bandwidth) / bandwidth < 0.05): print("%s,%s,%s,%s,%s,%s") % (test_rx_pkt_s_e, test_rx_cache_s_e, test_tx_cache_s_e, -- cgit 1.2.3-korg