Skip to content

Commit

Permalink
doc: fix Definitions docstring (#731)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Hakan Dilek <[email protected]>
  • Loading branch information
hakandilek authored Oct 28, 2024
1 parent e18d377 commit 5860b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cyclonedx/model/bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def definitions(self) -> Optional[Definitions]:
The repository for definitions
Returns:
`DefinitionRepository`
`Definitions`
"""
return self._definitions if len(self._definitions.standards) > 0 else None

Expand Down
2 changes: 1 addition & 1 deletion tests/test_model_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from cyclonedx.model.definition import Definitions, Standard


class TestModelDefinitionRepository(TestCase):
class TestModelDefinitions(TestCase):

def test_init(self) -> Definitions:
s = Standard(name='test-standard')
Expand Down

0 comments on commit 5860b67

Please sign in to comment.