@@ -592,11 +592,11 @@ def test_log_output_artifact(run_obj):
592
592
run_obj ._artifact_uploader .upload_artifact .return_value = ("s3uri_value" , "etag_value" )
593
593
with run_obj :
594
594
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 )
596
596
assert "whizz/bang" == run_obj ._trial_component .output_artifacts ["name" ].media_type
597
597
598
598
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 )
600
600
assert "foo.txt" in run_obj ._trial_component .output_artifacts
601
601
assert "text/plain" == run_obj ._trial_component .output_artifacts ["foo.txt" ].media_type
602
602
@@ -611,11 +611,11 @@ def test_log_input_artifact(run_obj):
611
611
run_obj ._artifact_uploader .upload_artifact .return_value = ("s3uri_value" , "etag_value" )
612
612
with run_obj :
613
613
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 )
615
615
assert "whizz/bang" == run_obj ._trial_component .input_artifacts ["name" ].media_type
616
616
617
617
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 )
619
619
assert "foo.txt" in run_obj ._trial_component .input_artifacts
620
620
assert "text/plain" == run_obj ._trial_component .input_artifacts ["foo.txt" ].media_type
621
621
@@ -655,7 +655,7 @@ def test_log_multiple_input_artifacts(run_obj):
655
655
run_obj .log_file (
656
656
file_path , "name" + str (index ), "whizz/bang" + str (index ), is_output = False
657
657
)
658
- run_obj ._artifact_uploader .upload_artifact .assert_called_with (file_path )
658
+ run_obj ._artifact_uploader .upload_artifact .assert_called_with (file_path , extra_args = None )
659
659
660
660
run_obj ._artifact_uploader .upload_artifact .return_value = (
661
661
"s3uri_value" ,
@@ -680,7 +680,7 @@ def test_log_multiple_output_artifacts(run_obj):
680
680
"etag_value" + str (index ),
681
681
)
682
682
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 )
683
+ run_obj ._artifact_uploader .upload_artifact .assert_called_with (file_path , extra_args = None )
684
684
685
685
run_obj ._artifact_uploader .upload_artifact .return_value = (
686
686
"s3uri_value" ,
0 commit comments