Commit 5fea55ec authored by Yann Garcia's avatar Yann Garcia
Browse files

Editorial changes in TPs

parent 3ff6ab77
Loading
Loading
Loading
Loading
+22 −71
Original line number Original line Diff line number Diff line
@@ -3812,6 +3812,14 @@
													"pm.test(\"Verify that the response status code is 201\", function () {\r",
													"pm.test(\"Verify that the response status code is 201\", function () {\r",
													"    pm.response.to.have.status(201);\r",
													"    pm.response.to.have.status(201);\r",
													"});\r",
													"});\r",
													"\r",
													"var responseJson = pm.response.json();\r",
													"\r",
													"pm.test(\"Verify that headers.Content-Type is 'application/yang-data+json; charset=utf-8'\", function () {\r",
													"    pm.expect(pm.response.headers.get('Content-Type')).is.equals('application/yang-data+json; charset=utf-8');\r",
													"    responseJson = pm.response.json();\r",
													"});\r",
													"\r",
													""
													""
												],
												],
												"type": "text/javascript",
												"type": "text/javascript",
@@ -3893,6 +3901,14 @@
													"pm.test(\"Verify that the response status code is 201\", function () {\r",
													"pm.test(\"Verify that the response status code is 201\", function () {\r",
													"    pm.response.to.have.status(201);\r",
													"    pm.response.to.have.status(201);\r",
													"});\r",
													"});\r",
													"\r",
													"var responseJson = pm.response.json();\r",
													"\r",
													"pm.test(\"Verify that headers.Content-Type is 'application/yang-data+json; charset=utf-8'\", function () {\r",
													"    pm.expect(pm.response.headers.get('Content-Type')).is.equals('application/yang-data+json; charset=utf-8');\r",
													"    responseJson = pm.response.json();\r",
													"});\r",
													"\r",
													""
													""
												],
												],
												"type": "text/javascript",
												"type": "text/javascript",
@@ -4042,7 +4058,7 @@
											"listen": "test",
											"listen": "test",
											"script": {
											"script": {
												"exec": [
												"exec": [
													"//postman.setNextRequest('TD_MSP_03-Step-1');\r",
													"//postman.setNextRequest('TC_mWT_PNC_PT_ETH_SVC_POST_BV_01');\r",
													"\r",
													"\r",
													"\r",
													"\r",
													"pm.test(\"Verify that the response status code is 200\", function () {\r",
													"pm.test(\"Verify that the response status code is 200\", function () {\r",
@@ -4058,41 +4074,7 @@
													"    topLevelPropertyName = responseData.hasOwnProperty('modules-state') ? 'modules-state' : 'ietf-yang-library:modules-state';\r",
													"    topLevelPropertyName = responseData.hasOwnProperty('modules-state') ? 'modules-state' : 'ietf-yang-library:modules-state';\r",
													"    console.info(topLevelPropertyName)\r",
													"    console.info(topLevelPropertyName)\r",
													"});\r",
													"});\r",
													"\r",
													""
													"// var moduleList = {};\r",
													"\r",
													"// pm.test(\"Validate the main field is 'ietf-yang-library:modules-state'\", function () {\r",
													"//     pm.expect(responseData).to.be.an('object');\r",
													"//     pm.expect(responseData).to.have.property(topLevelPropertyName);\r",
													"//     });\r",
													"\r",
													"// pm.test(\"Verify that the 'module' array is present and not empty\", function () {\r",
													"//     pm.expect(responseData).to.be.an('object');\r",
													"//     pm.expect(responseData[topLevelPropertyName][\"module\"]).to.be.an('array').with.lengthOf.at.least(1);\r",
													"//     // Build the module list\r",
													"//     responseData[topLevelPropertyName].module.forEach(function(item, index) {\r",
													"//         pm.expect(item).to.have.property('name');\r",
													"//         pm.expect(item).to.have.property('revision');\r",
													"//         pm.expect(item).to.have.property('namespace');\r",
													"//         if (moduleList.hasOwnProperty(item.name)) {\r",
													"//             if (moduleList[item.name].revision < item.revision) {\r",
													"//                 moduleList[item.name] = item;\r",
													"//             }\r",
													"//         } else {\r",
													"//             moduleList[item.name] = item;\r",
													"//         }\r",
													"//     });\r",
													"\r",
													"// });\r",
													"\r",
													"// pm.test('Verify that the basics YANG modules are supported', function() {\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-restconf\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-yang-library\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-datastores\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-inet-types\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-interfaces\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-ip\");\r",
													"//});"
												],
												],
												"type": "text/javascript",
												"type": "text/javascript",
												"packages": {}
												"packages": {}
@@ -4161,6 +4143,9 @@
											"listen": "test",
											"listen": "test",
											"script": {
											"script": {
												"exec": [
												"exec": [
													"//postman.setNextRequest('TC_mWT_PNC_PT_ETH_SVC_POST_BV_01');\r",
													"\r",
													"\r",
													"pm.test(\"Verify that the response status code is 200\", function () {\r",
													"pm.test(\"Verify that the response status code is 200\", function () {\r",
													"    pm.response.to.have.status(200);\r",
													"    pm.response.to.have.status(200);\r",
													"});\r",
													"});\r",
@@ -4174,41 +4159,7 @@
													"    topLevelPropertyName = responseData.hasOwnProperty('modules-state') ? 'modules-state' : 'ietf-yang-library:modules-state';\r",
													"    topLevelPropertyName = responseData.hasOwnProperty('modules-state') ? 'modules-state' : 'ietf-yang-library:modules-state';\r",
													"    console.info(topLevelPropertyName)\r",
													"    console.info(topLevelPropertyName)\r",
													"});\r",
													"});\r",
													"\r",
													""
													"// var moduleList = {};\r",
													"\r",
													"// pm.test(\"Validate the main field is 'ietf-yang-library:modules-state'\", function () {\r",
													"//     pm.expect(responseData).to.be.an('object');\r",
													"//     pm.expect(responseData).to.have.property(topLevelPropertyName);\r",
													"//     });\r",
													"\r",
													"// pm.test(\"Verify that the 'module' array is present and not empty\", function () {\r",
													"//     pm.expect(responseData).to.be.an('object');\r",
													"//     pm.expect(responseData[topLevelPropertyName][\"module\"]).to.be.an('array').with.lengthOf.at.least(1);\r",
													"//     // Build the module list\r",
													"//     responseData[topLevelPropertyName].module.forEach(function(item, index) {\r",
													"//         pm.expect(item).to.have.property('name');\r",
													"//         pm.expect(item).to.have.property('revision');\r",
													"//         pm.expect(item).to.have.property('namespace');\r",
													"//         if (moduleList.hasOwnProperty(item.name)) {\r",
													"//             if (moduleList[item.name].revision < item.revision) {\r",
													"//                 moduleList[item.name] = item;\r",
													"//             }\r",
													"//         } else {\r",
													"//             moduleList[item.name] = item;\r",
													"//         }\r",
													"//     });\r",
													"\r",
													"// });\r",
													"\r",
													"// pm.test('Verify that the basics YANG modules are supported', function() {\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-restconf\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-yang-library\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-datastores\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-inet-types\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-interfaces\");\r",
													"//     pm.expect(moduleList).to.have.property(\"ietf-ip\");\r",
													"//});"
												],
												],
												"type": "text/javascript",
												"type": "text/javascript",
												"packages": {}
												"packages": {}
+1653 −1653
Original line number Original line Diff line number Diff line
@@ -1600,7 +1600,7 @@ Package AtsMDSC {
                    ensure that {
                    ensure that {
                        when {
                        when {
                            the IUT entity receives a vRequestDelete containing
                            the IUT entity receives a vRequestDelete containing
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/nstances={ETHT_SVC_NAME}"; // Malformed URI
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/instances={ETHT_SVC_NAME}"; // Malformed URI
                            from the TEST_SYSTEM entity
                            from the TEST_SYSTEM entity
                        } then {
                        } then {
                            the IUT entity sends a r400 
                            the IUT entity sends a r400