summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/tests/runner.py
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-12-12 11:07:10 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-12-12 11:37:41 +0100
commitdc6b6c7d9d0cf9e2d0d8f69ba2dd5fca8e010b2e (patch)
tree05098ad8c6f6485360848b878490a08463c2776a /robotframework-onap/tests/runner.py
parent78600c90d81d85ae0e1183c0610625bb28a6cc5e (diff)
Add JSON Should Contain Sub JSON Keyword
This patch provides functionality of "Dictionary Should Contain Sub Dictionary" Keyword (from Robot Framework "Collections" library) for JSON. It supports both objects and strings containing JSON. Added tests were intended to verify no regressions were introduced as well as corner cases are handled properly. Issue-ID: SECCOM-261 Change-Id: Id7581d79b93ce0403e97e1bbf47c10e0e166f2ec Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'robotframework-onap/tests/runner.py')
-rw-r--r--robotframework-onap/tests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/robotframework-onap/tests/runner.py b/robotframework-onap/tests/runner.py
index ae132d1..a8c1afc 100644
--- a/robotframework-onap/tests/runner.py
+++ b/robotframework-onap/tests/runner.py
@@ -11,6 +11,7 @@ from tests.ONAPLibrary.Base64KeywordsTests import Base64KeywordsTests
from tests.ONAPLibrary.RequestsHelperTests import RequestsHelperTests
from tests.ONAPLibrary.AAITests import AAITests
from tests.ONAPLibrary.SOTests import SOTests
+from tests.ONAPLibrary.JSONKeywordsTest import JSONKeywordsTest
# initialize the test suite
loader = TestLoader()
@@ -25,6 +26,7 @@ suite.addTests(loader.loadTestsFromTestCase(UUIDKeywordsTest))
suite.addTests(loader.loadTestsFromTestCase(ServiceMappingKeywordsTests))
suite.addTests(loader.loadTestsFromTestCase(Base64KeywordsTests))
suite.addTests(loader.loadTestsFromTestCase(RequestsHelperTests))
+suite.addTests(loader.loadTestsFromTestCase(JSONKeywordsTest))
# initialize a runner, pass it your suite and run it
runner = TextTestRunner(verbosity=3)