Skip to content

Commit 934b6ca

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 9b0e5ca commit 934b6ca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/_data/models.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,32 +1400,33 @@ def get_bom_with_definitions_and_detailed_standards() -> Bom:
14001400
)
14011401
]))
14021402

1403+
14031404
def get_bom_for_issue540_duplicate_components() -> Bom:
14041405
# tests https://github.com/CycloneDX/cyclonedx-python-lib/issues/540
14051406
bom = _make_bom()
14061407
bom.metadata.component = root_component = Component(
14071408
name='myApp',
14081409
type=ComponentType.APPLICATION,
1409-
bom_ref="myApp"
1410+
bom_ref='myApp'
14101411
)
14111412
component1 = Component(
14121413
type=ComponentType.LIBRARY,
14131414
name='some-component',
1414-
bom_ref="some-component"
1415+
bom_ref='some-component'
14151416
)
14161417
bom.components.add(component1)
14171418
bom.register_dependency(root_component, [component1])
14181419
component2 = Component(
14191420
type=ComponentType.LIBRARY,
14201421
name='some-library',
1421-
bom_ref="some-library1"
1422+
bom_ref='some-library1'
14221423
)
14231424
bom.components.add(component2)
14241425
bom.register_dependency(component1, [component2])
14251426
component3 = Component(
14261427
type=ComponentType.LIBRARY,
14271428
name='some-library',
1428-
bom_ref="some-library2"
1429+
bom_ref='some-library2'
14291430
)
14301431
bom.components.add(component3)
14311432
bom.register_dependency(component1, [component3])

0 commit comments

Comments
 (0)