CI: fix missing class member for EPC

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2020-05-06 12:08:53 +02:00
parent 0113a9b978
commit 29f984a60a
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -62,6 +62,7 @@ class EPCManagement():
self.Type = '' self.Type = ''
self.PcapFileName = '' self.PcapFileName = ''
self.htmlObj = None self.htmlObj = None
self.testCase_id = ''
#----------------------------------------------------------- #-----------------------------------------------------------
# Setter and Getters on Public Members # Setter and Getters on Public Members
@@ -89,6 +90,8 @@ class EPCManagement():
return self.Type return self.Type
def SetHtmlObj(self, obj): def SetHtmlObj(self, obj):
self.htmlObj = obj self.htmlObj = obj
def SetTestCase_id(self, idx):
self.testCase_id = idx
#----------------------------------------------------------- #-----------------------------------------------------------
# EPC management functions # EPC management functions
+1
View File
@@ -3583,6 +3583,7 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
continue continue
CiTestObj.testCase_id = id CiTestObj.testCase_id = id
HTML.SettestCase_id(CiTestObj.testCase_id) HTML.SettestCase_id(CiTestObj.testCase_id)
EPC.SetTestCase_id(CiTestObj.testCase_id)
CiTestObj.desc = test.findtext('desc') CiTestObj.desc = test.findtext('desc')
HTML.Setdesc(CiTestObj.desc) HTML.Setdesc(CiTestObj.desc)
action = test.findtext('class') action = test.findtext('class')