diff options
author | Abhijit Sinha <abhijit.sinha@intel.com> | 2018-03-16 17:17:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-16 17:17:47 +0000 |
commit | e49c33827a359d7c80030cf44efafa65722380c4 (patch) | |
tree | 9b9a09cf42041f31ad672665cbf0cdd6a82afc38 /tests | |
parent | a6a54f115cb55a4cf91df24e9b894f89b232dae8 (diff) | |
parent | 7adc5cbebbe4a2c1d83bf2d1dd19891997836ad1 (diff) |
Merge "Replace assert statements in tests"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/network_services/traffic_profile/test_rfc2544.py | 2 |
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) |