@@ -26,7 +26,7 @@ def test_empty_upload_with_warnings(mocker):
2626 "commit_sha" ,
2727 "owner/repo" ,
2828 uuid .uuid4 (),
29- "service " ,
29+ "github " ,
3030 None ,
3131 False ,
3232 False ,
@@ -62,7 +62,7 @@ def test_empty_upload_with_error(mocker):
6262 "commit_sha" ,
6363 "owner/repo" ,
6464 uuid .uuid4 (),
65- "service " ,
65+ "github " ,
6666 None ,
6767 False ,
6868 False ,
@@ -93,7 +93,7 @@ def test_empty_upload_200(mocker):
9393 runner = CliRunner ()
9494 with runner .isolation () as outstreams :
9595 res = empty_upload_logic (
96- "commit_sha" , "owner/repo" , token , "service " , None , False , False , None
96+ "commit_sha" , "owner/repo" , token , "github " , None , False , False , None
9797 )
9898 out_bytes = parse_outstreams_into_log_lines (outstreams [0 ].getvalue ())
9999 assert out_bytes == [
@@ -113,7 +113,7 @@ def test_empty_upload_403(mocker):
113113 )
114114 token = uuid .uuid4 ()
115115 res = empty_upload_logic (
116- "commit_sha" , "owner/repo" , token , "service " , None , False , False , None
116+ "commit_sha" , "owner/repo" , token , "github " , None , False , False , None
117117 )
118118 assert res .error == RequestError (
119119 code = "HTTP Error 403" ,
@@ -138,7 +138,7 @@ def test_empty_upload_force(mocker):
138138 runner = CliRunner ()
139139 with runner .isolation () as outstreams :
140140 res = empty_upload_logic (
141- "commit_sha" , "owner/repo" , token , "service " , None , False , True , None
141+ "commit_sha" , "owner/repo" , token , "github " , None , False , True , None
142142 )
143143 out_bytes = parse_outstreams_into_log_lines (outstreams [0 ].getvalue ())
144144 assert out_bytes == [
@@ -165,7 +165,7 @@ def test_empty_upload_no_token(mocker):
165165 runner = CliRunner ()
166166 with runner .isolation () as outstreams :
167167 res = empty_upload_logic (
168- "commit_sha" , "owner/repo" , None , "service " , None , False , False , None
168+ "commit_sha" , "owner/repo" , None , "github " , None , False , False , None
169169 )
170170
171171 out_bytes = parse_outstreams_into_log_lines (outstreams [0 ].getvalue ())
0 commit comments