Fix PEP8 errors in prox_binseach 61/57361/3
authorAbhijit Sinha <abhijit.sinha@intel.com>
Mon, 14 May 2018 13:38:52 +0000 (14:38 +0100)
committerAbhijit Sinha <abhijit.sinha@intel.com>
Tue, 15 May 2018 13:35:35 +0000 (13:35 +0000)
There were some pep8 errors in the
prox_binsearch.py file. These are fixed here.

JIRA: YARDSTICK-1173

Change-Id: I817bba89c6ba298bb0f27b2538aa7585cb286754
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
yardstick/network_services/traffic_profile/prox_binsearch.py

index 7a84f13..1e926ac 100644 (file)
@@ -90,10 +90,10 @@ class ProxBinSearchProfile(ProxProfile):
 
         # Store one time only value in influxdb
         single_samples = {
-            "test_duration" : traffic_gen.scenario_helper.scenario_cfg["runner"]["duration"],
-            "test_precision" : self.params["traffic_profile"]["test_precision"],
-            "tolerated_loss" : self.params["traffic_profile"]["tolerated_loss"],
-            "duration" : duration
+            "test_duration": traffic_gen.scenario_helper.scenario_cfg["runner"]["duration"],
+            "test_precision": self.params["traffic_profile"]["test_precision"],
+            "tolerated_loss": self.params["traffic_profile"]["tolerated_loss"],
+            "duration": duration
         }
         self.queue.put(single_samples)
         self.prev_time = time.time()
@@ -148,5 +148,5 @@ class ProxBinSearchProfile(ProxProfile):
             self.queue.put(samples)
 
         result_samples["Result_pktSize"] = pkt_size
-        result_samples["Result_theor_max_throughput"] = theor_max_thruput/ (1000 * 1000)
+        result_samples["Result_theor_max_throughput"] = theor_max_thruput/(1000 * 1000)
         self.queue.put(result_samples)