Skip to content

Commit c7d06fb

Browse files
committed
fix(tests): update mock return value in TrialBuildMainTest to use a dictionary
1 parent 63e0328 commit c7d06fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/build/functions/trial_build_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_build_steps_correct(self, mock_gcb_build_and_push_images,
7373
del mock_wait_on_builds
7474
self.maxDiff = None # pylint: disable=invalid-name
7575
build_id = 1
76-
mock_run_build.return_value = build_id
76+
mock_run_build.return_value = {'id': build_id}
7777
branch_name = 'mybranch'
7878
project = 'skcms'
7979
args = [

0 commit comments

Comments
 (0)