Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Import "traffic_profile" modules only once
[yardstick.git]
/
tests
/
unit
/
network_services
/
traffic_profile
/
test_ixia_rfc2544.py
diff --git
a/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py
b/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py
index
f13945a
..
f83d334
100644
(file)
--- a/
tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py
+++ b/
tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py
@@
-29,7
+29,7
@@
stl_patch = mock.patch.dict("sys.modules", STL_MOCKS)
stl_patch.start()
if stl_patch:
stl_patch.start()
if stl_patch:
- from yardstick.network_services.traffic_profile.traffic_profile \
+ from yardstick.network_services.traffic_profile.tr
ex_tr
affic_profile \
import TrexProfile
from yardstick.network_services.traffic_profile.ixia_rfc2544 import \
IXIARFC2544Profile
import TrexProfile
from yardstick.network_services.traffic_profile.ixia_rfc2544 import \
IXIARFC2544Profile