summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAbhijit Sinha <abhijit.sinha@intel.com>2018-03-16 17:17:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 17:17:47 +0000
commite49c33827a359d7c80030cf44efafa65722380c4 (patch)
tree9b9a09cf42041f31ad672665cbf0cdd6a82afc38 /tests
parenta6a54f115cb55a4cf91df24e9b894f89b232dae8 (diff)
parent7adc5cbebbe4a2c1d83bf2d1dd19891997836ad1 (diff)
Merge "Replace assert statements in tests"
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/network_services/traffic_profile/test_rfc2544.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/network_services/traffic_profile/test_rfc2544.py b/tests/unit/network_services/traffic_profile/test_rfc2544.py
index 21c8f6d5b..cb3a547ee 100644
--- a/tests/unit/network_services/traffic_profile/test_rfc2544.py
+++ b/tests/unit/network_services/traffic_profile/test_rfc2544.py
@@ -73,7 +73,7 @@ class TestRFC2544Profile(unittest.TestCase):
def test___init__(self):
r_f_c2544_profile = RFC2544Profile(self.TRAFFIC_PROFILE)
- assert r_f_c2544_profile.rate
+ self.assertIsNotNone(r_f_c2544_profile.rate)
def test_execute(self):
traffic_generator = mock.Mock(autospec=TrexProfile)