You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running this tools, we discovered some enhancements and fixes. Attached is the file containing the changes we made. Please review and comment. diff.log
Here are some of the explanations about the changes:
Enhancement - ssl.PROTOCOL_TLS is hardcoded based on the version of Python. For our implementation, we need to use PROTOCOL_TLSv1_2 instead of PROTOCOL_TLSv1. Is it possible this can be configure in properties.json?
diff --git a/rf_utility.py b/rf_utility.py
index e4df442..fc65981 100644
--- a/rf_utility.py
+++ b/rf_utility.py
@@ -124,7 +124,7 @@ def Connect_Server_NoSSL(sut_prop, host_ip_addr) :
elif (Python3 == True) :
#if 3.4.2
if (sys.version_info.major == 3 and sys.version_info.minor == 4 and sys.version_info.micro <= 3) :
Enhancement - We have a password rule that is different from the password used in this test. Is it possible this can be configurable?
diff --git a/rfs_test/TEST_protocol_details.py b/rfs_test/TEST_protocol_details.py
index 8eb449e..c1bfefc 100644
--- a/rfs_test/TEST_protocol_details.py
+++ b/rfs_test/TEST_protocol_details.py
@@ -368,7 +368,7 @@ def Assertion_6_1_8_3(self, log) :
account_url = json_payload['@odata.id']
patch_key = 'RoleId'
patch_value = 'Operator'
Fix - Missing argument (schema_fle) in log.assertion_log
@@ -1646,7 +1646,7 @@ def Assertion_6_4_24(self, log) :
#check if resource remain unchanged, else FAIL. The object might have changed by another source changing the etag, so, in this case, checking value of property makes more sense than etags
if (json_payload[prop] == 'PatchName'):
assertion_status = log.FAIL
log.assertion_log('line', "~ PATCH on Property %s of resource %s is a Read-only property according to its schema document %s, which might have been updated unexpectedly" % (prop, relative_uris[relative_uri]) )
log.assertion_log('line', "~ PATCH on Property %s of resource %s is a Read-only property according to its schema document %s, which might have been updated unexpectedly" % (prop, relative_uris[relative_uri], schema_file) )
@@ -5078,7 +5098,7 @@ def Assertion_6_4_24_xml(self, log) :
#check if resource remain unchanged, else FAIL. The object might have changed by another source changing the etag, so, in this case, checking value of property makes more sense than etags
if (json_payload[property.Name] == 'PatchName'):
assertion_status = log.FAIL
log.assertion_log('line', "~ PATCH on Property %s of resource %s is a Read-only property according to its schema document %s, which might have been updated unexpectedly" % (prop, relative_uris[relative_uri]) )
log.assertion_log('line', "~ PATCH on Property %s of resource %s is a Read-only property according to its schema document %s, which might have been updated unexpectedly" % (prop, relative_uris[relative_uri], schema_file) )
Linda asked me create a branch and push the code for review. But it seems that I don't have the access right to create a branch or fork. Please advise what is the correct procedure to push the code for review.
Hi,
While running this tools, we discovered some enhancements and fixes. Attached is the file containing the changes we made. Please review and comment.
diff.log
Here are some of the explanations about the changes:
diff --git a/rf_utility.py b/rf_utility.py
index e4df442..fc65981 100644
--- a/rf_utility.py
+++ b/rf_utility.py
@@ -124,7 +124,7 @@ def Connect_Server_NoSSL(sut_prop, host_ip_addr) :
elif (Python3 == True) :
#if 3.4.2
if (sys.version_info.major == 3 and sys.version_info.minor == 4 and sys.version_info.micro <= 3) :
diff --git a/rfs_test/TEST_protocol_details.py b/rfs_test/TEST_protocol_details.py
index 8eb449e..c1bfefc 100644
--- a/rfs_test/TEST_protocol_details.py
+++ b/rfs_test/TEST_protocol_details.py
@@ -368,7 +368,7 @@ def Assertion_6_1_8_3(self, log) :
account_url = json_payload['@odata.id']
patch_key = 'RoleId'
patch_value = 'Operator'
@@ -1646,7 +1646,7 @@ def Assertion_6_4_24(self, log) :
#check if resource remain unchanged, else FAIL. The object might have changed by another source changing the etag, so, in this case, checking value of property makes more sense than etags
if (json_payload[prop] == 'PatchName'):
assertion_status = log.FAIL
@@ -5078,7 +5098,7 @@ def Assertion_6_4_24_xml(self, log) :
#check if resource remain unchanged, else FAIL. The object might have changed by another source changing the etag, so, in this case, checking value of property makes more sense than etags
if (json_payload[property.Name] == 'PatchName'):
assertion_status = log.FAIL
log.assertion_log(assertion_status, None)
return (assertion_status)
Thanks,
KC
The text was updated successfully, but these errors were encountered: