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 "bugfix: tc063 fails to get the correct result in ubuntu node"
[yardstick.git]
/
tests
/
unit
/
benchmark
/
scenarios
/
networking
/
test_ping.py
diff --git
a/tests/unit/benchmark/scenarios/networking/test_ping.py
b/tests/unit/benchmark/scenarios/networking/test_ping.py
index
5269309
..
0635324
100644
(file)
--- a/
tests/unit/benchmark/scenarios/networking/test_ping.py
+++ b/
tests/unit/benchmark/scenarios/networking/test_ping.py
@@
-45,7
+45,7
@@
class PingTestCase(unittest.TestCase):
mock_ssh.SSH.from_node().execute.return_value = (0, '100', '')
p.run(result)
mock_ssh.SSH.from_node().execute.return_value = (0, '100', '')
p.run(result)
- self.assertEqual(result, {'rtt
': {'ares': 100.0}
})
+ self.assertEqual(result, {'rtt
.ares': 100.0
})
@mock.patch('yardstick.benchmark.scenarios.networking.ping.ssh')
def test_ping_successful_sla(self, mock_ssh):
@mock.patch('yardstick.benchmark.scenarios.networking.ping.ssh')
def test_ping_successful_sla(self, mock_ssh):
@@
-61,7
+61,7
@@
class PingTestCase(unittest.TestCase):
mock_ssh.SSH.from_node().execute.return_value = (0, '100', '')
p.run(result)
mock_ssh.SSH.from_node().execute.return_value = (0, '100', '')
p.run(result)
- self.assertEqual(result, {'rtt
': {'ares': 100.0}
})
+ self.assertEqual(result, {'rtt
.ares': 100.0
})
@mock.patch('yardstick.benchmark.scenarios.networking.ping.ssh')
def test_ping_unsuccessful_sla(self, mock_ssh):
@mock.patch('yardstick.benchmark.scenarios.networking.ping.ssh')
def test_ping_unsuccessful_sla(self, mock_ssh):