File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,7 @@ def checkStringNotEmpty(res,element):
103103 and (element != "" ) and (element != None )
104104
105105def checkListNotEmpty (res ,element ):
106- assert (res ['app' ] != "" ) and (res ['kind' ] != "" ) and (type (element ) == list ) \
107- and (len (element ) > 0 )
106+ assert (res ['app' ] != "" ) and (res ['kind' ] != "" ) and (type (element ) == list )
108107
109108def checkValidJSON (element ):
110109 try :
@@ -216,7 +215,9 @@ def testDescriptionElement():
216215
217216# Tests for configurations elements
218217# For the resources with configurations:
219- # Is list not empty
218+ # - app is not empty
219+ # - kind is not empty
220+ # - configuration is list
220221def testConfigurationsElement ():
221222 for kind in all_resources :
222223 for res in kind :
You can’t perform that action at this time.
0 commit comments