Commit 454139ac authored by Raphael Defosseux's avatar Raphael Defosseux

CI: fix a few typos in python framework

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent ae5a1e41
...@@ -83,7 +83,7 @@ class HTMLManagement(): ...@@ -83,7 +83,7 @@ class HTMLManagement():
# Setters and Getters # Setters and Getters
#----------------------------------------------------------- #-----------------------------------------------------------
def SethtmlUEFailureMsg(self,huefa): def SethtmlUEFailureMsg(self,huefa):
self.htmlUEFailureMsg = huefa self.htmlUEFailureMsg = huefa
def GethtmlUEFailureMsg(self): def GethtmlUEFailureMsg(self):
return self.htmlUEFailureMsg return self.htmlUEFailureMsg
def SetHmleNBFailureMsg(self, msg): def SetHmleNBFailureMsg(self, msg):
...@@ -112,7 +112,10 @@ class HTMLManagement(): ...@@ -112,7 +112,10 @@ class HTMLManagement():
self.ranTargetBranch = tbranch self.ranTargetBranch = tbranch
def SethtmlUEConnected(self, nbUEs): def SethtmlUEConnected(self, nbUEs):
self.htmlUEConnected = nbUEs if nbUEs > 0:
self.htmlUEConnected = nbUEs
else:
self.htmlUEConnected = 1
def SethtmlNb_Smartphones(self, nbUEs): def SethtmlNb_Smartphones(self, nbUEs):
self.htmlNb_Smartphones = nbUEs self.htmlNb_Smartphones = nbUEs
def SethtmlNb_CATM_Modules(self, nbUEs): def SethtmlNb_CATM_Modules(self, nbUEs):
......
...@@ -86,7 +86,6 @@ class OaiCiTest(): ...@@ -86,7 +86,6 @@ class OaiCiTest():
self.UEDevicesRebootCmd = [] self.UEDevicesRebootCmd = []
self.CatMDevices = [] self.CatMDevices = []
self.UEIPAddresses = [] self.UEIPAddresses = []
self.htmlUEConnected = -1
self.idle_sleep_time = 0 self.idle_sleep_time = 0
self.x2_ho_options = 'network' self.x2_ho_options = 'network'
self.x2NbENBs = 0 self.x2NbENBs = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment