commit 0b8c477de528a182ede3223870dbf187e305560a Author: Jiri Pirko jpirko@redhat.com Date: Thu Jun 30 10:26:36 2011 +0200
TestIcmpPing: pass result rate in result data
Signed-off-by: Jiri Pirko jpirko@redhat.com
Tests/TestIcmpPing.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Tests/TestIcmpPing.py b/Tests/TestIcmpPing.py index f806fe7..5b6b3ea 100644 --- a/Tests/TestIcmpPing.py +++ b/Tests/TestIcmpPing.py @@ -52,6 +52,6 @@ class TestIcmpPing(TestGeneric): "mdev "%.3f"" % (tmin, tavg, tmax, tmdev))
if rate < limit_rate: - return self.set_fail("rate is lower that limit") + return self.set_fail("rate is lower that limit", res_data={"rate": rate})
- return self.set_pass() + return self.set_pass(res_data={"rate": rate})
lnst-developers@lists.fedorahosted.org