summaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/traffic_profile/test_rfc2544.py
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-02-12 17:34:40 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2018-02-28 11:16:20 -0800
commit710fd29fe4a5e6f747ff397a4f54f966999279a2 (patch)
tree1598cab48a96de69ca44ca6e7275ad2039eae1d1 /tests/unit/network_services/traffic_profile/test_rfc2544.py
parentecfb54a60eb8e4395b582f114c92f69f547c3e45 (diff)
NSB: Rename traffic_profile to trex_traffic_profile
Make it more clear that traffic_profile is not a generic class. Eventually we can refactor a more generic traffic profile. Change-Id: I1bf44a8cafcdeb8d74efb9e85a34f6d7b526d036 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/unit/network_services/traffic_profile/test_rfc2544.py')
-rw-r--r--tests/unit/network_services/traffic_profile/test_rfc2544.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit/network_services/traffic_profile/test_rfc2544.py b/tests/unit/network_services/traffic_profile/test_rfc2544.py
index 221233710..fe563e9fd 100644
--- a/tests/unit/network_services/traffic_profile/test_rfc2544.py
+++ b/tests/unit/network_services/traffic_profile/test_rfc2544.py
@@ -29,7 +29,7 @@ stl_patch = mock.patch.dict("sys.modules", STL_MOCKS)
stl_patch.start()
if stl_patch:
- from yardstick.network_services.traffic_profile.traffic_profile \
+ from yardstick.network_services.traffic_profile.trex_traffic_profile \
import TrexProfile
from yardstick.network_services.traffic_profile.rfc2544 import \
RFC2544Profile
@@ -164,8 +164,6 @@ class TestRFC2544Profile(unittest.TestCase):
"in_packets": 1000,
"out_packets": 1002,
}
- tol_min = 0.0
- tolerance = 1.0
expected = {
'DropPercentage': 0.1996,
'RxThroughput': 33.333333333333336,
@@ -208,8 +206,6 @@ class TestRFC2544Profile(unittest.TestCase):
"tx_throughput_mbps": 10,
"in_packets": 1000,
"out_packets": 0}
- tol_min = 0.0
- tolerance = 0.0
r_f_c2544_profile.throughput_max = 0
expected = {
'DropPercentage': 100.0, 'RxThroughput': 100 / 3.0,