Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Replace assert statements in tests
[yardstick.git]
/
tests
/
unit
/
network_services
/
traffic_profile
/
test_rfc2544.py
diff --git
a/tests/unit/network_services/traffic_profile/test_rfc2544.py
b/tests/unit/network_services/traffic_profile/test_rfc2544.py
index
21c8f6d
..
cb3a547
100644
(file)
--- 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)