@@ -592,11 +592,11 @@ def test_log_output_artifact(run_obj):
592592 run_obj ._artifact_uploader .upload_artifact .return_value = ("s3uri_value" , "etag_value" )
593593 with run_obj :
594594 run_obj .log_file ("foo.txt" , "name" , "whizz/bang" )
595- run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" )
595+ run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" , extra_args = None )
596596 assert "whizz/bang" == run_obj ._trial_component .output_artifacts ["name" ].media_type
597597
598598 run_obj .log_file ("foo.txt" )
599- run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" )
599+ run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" , extra_args = None )
600600 assert "foo.txt" in run_obj ._trial_component .output_artifacts
601601 assert "text/plain" == run_obj ._trial_component .output_artifacts ["foo.txt" ].media_type
602602
@@ -611,11 +611,11 @@ def test_log_input_artifact(run_obj):
611611 run_obj ._artifact_uploader .upload_artifact .return_value = ("s3uri_value" , "etag_value" )
612612 with run_obj :
613613 run_obj .log_file ("foo.txt" , "name" , "whizz/bang" , is_output = False )
614- run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" )
614+ run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" , extra_args = None )
615615 assert "whizz/bang" == run_obj ._trial_component .input_artifacts ["name" ].media_type
616616
617617 run_obj .log_file ("foo.txt" , is_output = False )
618- run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" )
618+ run_obj ._artifact_uploader .upload_artifact .assert_called_with ("foo.txt" , extra_args = None )
619619 assert "foo.txt" in run_obj ._trial_component .input_artifacts
620620 assert "text/plain" == run_obj ._trial_component .input_artifacts ["foo.txt" ].media_type
621621
@@ -655,7 +655,9 @@ def test_log_multiple_input_artifacts(run_obj):
655655 run_obj .log_file (
656656 file_path , "name" + str (index ), "whizz/bang" + str (index ), is_output = False
657657 )
658- run_obj ._artifact_uploader .upload_artifact .assert_called_with (file_path )
658+ run_obj ._artifact_uploader .upload_artifact .assert_called_with (
659+ file_path , extra_args = None
660+ )
659661
660662 run_obj ._artifact_uploader .upload_artifact .return_value = (
661663 "s3uri_value" ,
@@ -680,7 +682,9 @@ def test_log_multiple_output_artifacts(run_obj):
680682 "etag_value" + str (index ),
681683 )
682684 run_obj .log_file (file_path , "name" + str (index ), "whizz/bang" + str (index ))
683- run_obj ._artifact_uploader .upload_artifact .assert_called_with (file_path )
685+ run_obj ._artifact_uploader .upload_artifact .assert_called_with (
686+ file_path , extra_args = None
687+ )
684688
685689 run_obj ._artifact_uploader .upload_artifact .return_value = (
686690 "s3uri_value" ,
0 commit comments