File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -870,7 +870,7 @@ def test_path_without_leading_slash(self):
870870 self .tempdir_name + "/?hi=1" )
871871
872872 def test_extra_response_headers_list_dir (self ):
873- with mock .patch .object (self .request_handler , 'extra_response_headers' , new = [
873+ with mock .patch .object (self .request_handler , 'extra_response_headers' , [
874874 ('X-Test1' , 'test1' ),
875875 ('X-Test2' , 'test2' ),
876876 ]):
@@ -879,7 +879,7 @@ def test_extra_response_headers_list_dir(self):
879879 self .assertEqual (response .getheader ("X-Test2" ), 'test2' )
880880
881881 def test_extra_response_headers_get_file (self ):
882- with mock .patch .object (self .request_handler , 'extra_response_headers' , new = [
882+ with mock .patch .object (self .request_handler , 'extra_response_headers' , [
883883 ('Set-Cookie' , 'test1=value1' ),
884884 ('Set-Cookie' , 'test2=value2' ),
885885 ('X-Test1' , 'value3' ),
You can’t perform that action at this time.
0 commit comments