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 "Enable heat context to support existing network"
[yardstick.git]
/
yardstick
/
tests
/
unit
/
benchmark
/
scenarios
/
networking
/
test_pktgen_dpdk_throughput.py
diff --git
a/yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk_throughput.py
b/yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk_throughput.py
index
1b12bd5
..
e90fb07
100644
(file)
--- a/
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk_throughput.py
+++ b/
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk_throughput.py
@@
-1,4
+1,3
@@
-#!/usr/bin/env python
##############################################################################
# Copyright (c) 2017 Nokia and others.
#
##############################################################################
# Copyright (c) 2017 Nokia and others.
#
@@
-192,11
+191,3
@@
class PktgenDPDKTestCase(unittest.TestCase):
mock_ssh.SSH().execute.assert_called_with(
"sudo /dpdk/destdir/bin/dpdk-procinfo -- --stats-reset > /dev/null 2>&1")
mock_ssh.SSH().execute.assert_called_with(
"sudo /dpdk/destdir/bin/dpdk-procinfo -- --stats-reset > /dev/null 2>&1")
-
-
-def main():
- unittest.main()
-
-
-if __name__ == '__main__':
- main()