Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Bux: task_id parameter from API can not pass to yardstick core"
[yardstick.git]
/
yardstick
/
benchmark
/
scenarios
/
networking
/
pktgen.py
diff --git
a/yardstick/benchmark/scenarios/networking/pktgen.py
b/yardstick/benchmark/scenarios/networking/pktgen.py
index
69663ec
..
b61337a
100644
(file)
--- a/
yardstick/benchmark/scenarios/networking/pktgen.py
+++ b/
yardstick/benchmark/scenarios/networking/pktgen.py
@@
-47,7
+47,7
@@
class Pktgen(base.Scenario):
self.setup_done = False
def setup(self):
self.setup_done = False
def setup(self):
- '''scenario setup'''
+ """scenario setup"""
self.target_script = pkg_resources.resource_filename(
'yardstick.benchmark.scenarios.networking',
Pktgen.TARGET_SCRIPT)
self.target_script = pkg_resources.resource_filename(
'yardstick.benchmark.scenarios.networking',
Pktgen.TARGET_SCRIPT)
@@
-148,7
+148,7
@@
class Pktgen(base.Scenario):
def _test():
def _test():
- '''internal test function'''
+ """internal test function"""
key_filename = pkg_resources.resource_filename('yardstick.resources',
'files/yardstick_key')
ctx = {
key_filename = pkg_resources.resource_filename('yardstick.resources',
'files/yardstick_key')
ctx = {