rabbah commented on a change in pull request #2490: CLI summaries for actions 
without annotations
URL: 
https://github.com/apache/incubator-openwhisk/pull/2490#discussion_r131995536
 
 

 ##########
 File path: tests/src/test/scala/system/basic/WskBasicTests.scala
 ##########
 @@ -130,6 +130,83 @@ class WskBasicTests
             stdout should include regex (s"(?i)action 
/$ns/$packageName/$actionName: Action description\\s*\\(parameters: paramName1, 
paramName2\\)")
     }
 
+    it should "create, and get a package summary without a description and/or 
parameters" in withAssetCleaner(wskprops) {
+        (wp, assetHelper) =>
+            val pkgNoDesc = "pkgNoDesc"
+            val pkgNoParams = "pkgNoParams"
+            val pkgNoDescOrParams = "pkgNoDescOrParams"
+            val pkgDesc = "Package description"
+            val descFromParams = "Returns a result based on parameters"
+            val ns_regex_list = wsk.namespace.list().stdout.trim.replace('\n', 
'|')
 
 Review comment:
   i'd rename `ns_regex_list` to just namespace.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to