diff options
author | 2016-10-30 22:48:43 +0200 | |
---|---|---|
committer | 2016-10-30 22:48:43 +0200 | |
commit | 6bfe49e33c95c16c6fa7008aff58652a5864ca6e (patch) | |
tree | 65f0938a7feb717e24857b0cd68931042c1691d0 /scripts/automation/trex_control_plane/stl/trex_stl_lib | |
parent | 0d42a434e92f69ea8856998e3135e6b5e6adbd71 (diff) |
syntax sugar on GA + fill ActionNumber with dummy value
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py index 2c4e019b..fe4fc893 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py @@ -277,15 +277,15 @@ BlockingMode - boolean (1/0) - required when each tracked event is critical and SetupName - text - will be presented on analysis. put here setup name as string.
"""
class GAmanager_Regression(GAmanager):
- def __init__(self,GoogleID,AnalyticsUserID,appName,appVer,
- QueueSize,Timeout,UserPermission,BlockingMode):
- GAmanager.__init__(self,GoogleID,AnalyticsUserID,appName,appVer,
- QueueSize,Timeout,UserPermission,BlockingMode)
+ def __init__(self, GoogleID, AnalyticsUserID, appName, appVer,
+ QueueSize, Timeout, UserPermission, BlockingMode):
+ GAmanager.__init__(self, GoogleID, AnalyticsUserID, appName, appVer,
+ QueueSize, Timeout, UserPermission, BlockingMode)
self.GoogleID = GoogleID
self.AnalyticsUserID = AnalyticsUserID
- def gaAddTestQuery(self,TestName,TRexMode,SetupName,ActionNumber,TestType,Mppspc,GoldenMin,GoldenMax):
- self.gaAddObject(GA_TESTING_ObjClass(self.AnalyticsUserID,self.GoogleID,TRexMode,TestName,SetupName,self.appName,ActionNumber,self.appVer,TestType,Mppspc,GoldenMin,GoldenMax))
+ def gaAddTestQuery(self, TestName, TRexMode, SetupName, ActionNumber, TestType, Mppspc, GoldenMin, GoldenMax):
+ self.gaAddObject(GA_TESTING_ObjClass(self.AnalyticsUserID, self.GoogleID, TRexMode, TestName, SetupName, self.appName, ActionNumber, self.appVer, TestType, Mppspc, GoldenMin, GoldenMax))
|