summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2017-12-13 15:01:34 -0800
committerYichen Wang <yicwang@cisco.com>2018-01-02 11:19:28 -0800
commitb481ad4a6c6b98cac760b12e4190f9540869e673 (patch)
treecb772d754ba27d244dadd3c086293784c8acc286 /test
parentefc678c9d3843dcfd373b5749a88c51228b0b27c (diff)
Multiple bugfixes for NFVbench
[NFVBENCH-52] NFVbench should ignore the port security settings if not available [NFVBENCH-53] NFVbench should support to use software mode for TRex [NFVBENCH-54] NFVbench container should also map kernel sources when available to build KOs [NFVBENCH-55] Documentation enhancements to have better examples for using "$PWD" [NFVBENCH-57] NFVbench should support to build kernel modules on redhat distros Change-Id: Id6792d6711393b07ca59396c276a026bec9f1e86 Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_nfvbench.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_nfvbench.py b/test/test_nfvbench.py
index 05490e7..fc8174f 100644
--- a/test/test_nfvbench.py
+++ b/test/test_nfvbench.py
@@ -299,6 +299,8 @@ def test_parse_rate_str():
else:
return False
+ return False
+
assert should_raise_error('101')
assert should_raise_error('201%')
assert should_raise_error('10Kbps')