@@ -148,7 +148,7 @@ def create_valid_run_details() -> tuple:
148148
149149def test_build_definition_as_dict () -> None :
150150 """Test dict representation of build definition."""
151- build_type , rd , resolved_dependencies , bd = create_valid_build_definition ()
151+ build_type , rd , _resolved_dependencies , bd = create_valid_build_definition ()
152152 # Check class attributes.
153153 dict_repr = bd .as_dict ()
154154 assert dict_repr .get (Predicate .BuildDefinition .ATTR_BUILD_TYPE ) == build_type
@@ -176,7 +176,7 @@ def test_build_definition_as_json() -> None:
176176def test_build_definition_init () -> None :
177177 """Test initialization of build definition."""
178178 # Check class attributes.
179- build_type , rd , resolved_dependencies , bd = create_valid_build_definition ()
179+ build_type , rd , _resolved_dependencies , bd = create_valid_build_definition ()
180180 assert bd .build_type == build_type
181181 assert bd .external_parameters == EXTERNAL_PARAMETERS
182182 assert bd .internal_parameters == INTERNAL_PARAMETERS
@@ -215,13 +215,13 @@ def test_build_definition_load_json() -> None:
215215
216216def test_builder_as_dict () -> None :
217217 (
218- uri ,
219- digest ,
220- rc_annotations ,
221- name ,
222- dl_loc ,
223- media_type ,
224- content ,
218+ _uri ,
219+ _digest ,
220+ _rc_annotations ,
221+ _name ,
222+ _dl_loc ,
223+ _media_type ,
224+ _content ,
225225 desc ,
226226 ) = create_valid_resource_descriptor ()
227227 build_id : TypeURI = TypeURI (VALID_URIS [1 ])
@@ -319,7 +319,7 @@ def test_buildmetadata_as_dict() -> None:
319319
320320def test_buildmetadata_as_json () -> None :
321321 """Test the JSON representation of a BuildMetadata."""
322- start_time , invocation_id , finish_time , bm = create_valid_build_metadata ()
322+ _start_time , _invocation_id , _finish_time , bm = create_valid_build_metadata ()
323323 json_repr : str = bm .as_json ()
324324 # Check that the JSON string is valid.
325325 assert json .loads (json_repr )
@@ -462,13 +462,13 @@ def test_predicate_load_json() -> None:
462462
463463def test_resource_descriptor_add_digest () -> None :
464464 (
465- uri ,
465+ _uri ,
466466 digest ,
467- rc_annotations ,
468- name ,
469- dl_loc ,
470- media_type ,
471- content ,
467+ _rc_annotations ,
468+ _name ,
469+ _dl_loc ,
470+ _media_type ,
471+ _content ,
472472 desc ,
473473 ) = create_valid_resource_descriptor ()
474474 assert desc .digest == digest
0 commit comments