Skip to content

Commit d3a733d

Browse files
committed
Rename request_attributes method to build_request_attributes
It was being masked in the constructor as the result of the method call was being assigned to a property also named request_attributes.
1 parent de7be48 commit d3a733d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/protocol_test_suite_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def cases(self):
4141
class ProtocolTestSuiteParser:
4242
def __init__(self, case_path):
4343
self.case_name = os.path.basename(case_path)
44-
self.request_attributes = self.request_attributes(case_path)
44+
self.request_attributes = self.build_request_attributes(case_path)
4545
self.sts = self.read_file_by_extension(case_path, "sts")
4646
self.sig = self.read_file_by_extension(case_path, "sig")
4747
self.auth_headers = self.read_json_by_extension(case_path, "authz")
4848

49-
def request_attributes(self, case_path):
49+
def build_request_attributes(self, case_path):
5050
req = self.read_json_by_extension(case_path, "req")
5151
body_file_path = os.path.join(case_path, req["body_filepath"]) if "body_filepath" in req else ""
5252
body = self.read_file(body_file_path, "rb") if body_file_path else req.get("body")

0 commit comments

Comments
 (0)