@@ -35,7 +35,7 @@ def test_builds_project_with_no_deps(self):
3535 self .builder .build (source_dir , self .artifacts_dir , self .scratch_dir ,
3636 os .path .join (source_dir , "Gopkg.toml" ),
3737 runtime = self .runtime ,
38- options = {"handler " : "main" })
38+ options = {"artifact_executable_name " : "main" })
3939
4040 expected_files = {"main" }
4141 output_files = set (os .listdir (self .artifacts_dir ))
@@ -49,7 +49,7 @@ def test_builds_project_with_no_gopkg_file(self):
4949 self .builder .build (source_dir , self .artifacts_dir , self .scratch_dir ,
5050 os .path .join (source_dir , "Gopkg.toml" ),
5151 runtime = self .runtime ,
52- options = {"handler " : "main" })
52+ options = {"artifact_executable_name " : "main" })
5353
5454 self .assertEquals (
5555 "GoDepBuilder:DepEnsure - Exec Failed: could not find project Gopkg.toml," +
@@ -62,7 +62,7 @@ def test_builds_project_with_remote_deps(self):
6262 self .builder .build (source_dir , self .artifacts_dir , self .scratch_dir ,
6363 os .path .join (source_dir , "Gopkg.toml" ),
6464 runtime = self .runtime ,
65- options = {"handler " : "main" })
65+ options = {"artifact_executable_name " : "main" })
6666
6767 expected_files = {"main" }
6868 output_files = set (os .listdir (self .artifacts_dir ))
@@ -76,7 +76,7 @@ def test_builds_project_with_failed_remote_deps(self):
7676 self .builder .build (source_dir , self .artifacts_dir , self .scratch_dir ,
7777 os .path .join (source_dir , "Gopkg.toml" ),
7878 runtime = self .runtime ,
79- options = {"handler " : "main" })
79+ options = {"artifact_executable_name " : "main" })
8080
8181 # The full message is super long, so part of it is fine.
8282 self .assertNotEqual (str (ex .exception ).find ('unable to deduce repository and source type for' ), - 1 )
0 commit comments