File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ def pytest_configure(config):
83
83
with open (CONFIG_PATH ) as config_file :
84
84
data = json .load (config_file )
85
85
for config_item in data .keys ():
86
- config ._metadata [str (config_item )] = str (data [config_item ])
86
+ # https://github.com/pytest-dev/pytest-metadata/issues/70
87
+ from pytest_metadata .plugin import metadata_key
88
+ config .stash [metadata_key ][str (config_item )] = str (data [config_item ])
87
89
88
90
89
91
def pytest_html_report_title (report ):
Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ def set_extra_headers(self, path):
644
644
encoded_filename = urllib .parse .quote (filename , encoding = 'utf-8' )
645
645
self .set_header ('Content-Disposition' , 'attachment; filename*=UTF-8\' \' ' + encoded_filename + '' )
646
646
647
- @check_authorization
647
+ @check_authorization_sync
648
648
def validate_absolute_path (self , root , absolute_path ):
649
649
audit_name = get_audit_name_from_request (self )
650
650
user_id = identify_user (self )
You can’t perform that action at this time.
0 commit comments