Fix pep8 violations in shard_perf_test
[integration/test.git] / test / tools / odl-mdsal-clustering-tests / clustering-performance-test / shard_perf_test.py
index 244f6e93e78671c7aedd391fac03d6938ed244fe..328975a1e8a9b7dbe281baaa6977391ae2bbcda7 100755 (executable)
@@ -73,7 +73,6 @@ class ShardPerformanceTester(object):
         self.url_counters = []
         self.total_rate = 0
 
-
     def make_request(self, session, urls):
         """
         Makes a request for a resource at a random URL selected from a list of URLs passed as input parameter
@@ -91,7 +90,6 @@ class ShardPerformanceTester(object):
             r = session.get(r_url, headers=self.headers, stream=False, auth=('admin', 'admin'))
         return r.status_code
 
-
     def worker(self, tid, urls):
         """
         Worker thread function. Connects to system-under-test and makes 'self.requests' requests for
@@ -132,7 +130,6 @@ class ShardPerformanceTester(object):
         with self.cond:
             self.cond.notifyAll()
 
-
     def run_test(self, urls):
         """
         Runs the performance test. Starts 'self.threads' worker threads, waits for all of them to finish and
@@ -349,7 +346,3 @@ if __name__ == "__main__":
         print 'Testing combined shards (topo+inv) performance:'
         print '==============================================='
         st.run_test(topo_urls + inv_urls)
-
-
-
-