Skip to content

Commit

Permalink
squash: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed May 16, 2023
1 parent 401b859 commit 9529a77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_link():
# Invalid links and relations
with pytest.raises(
SpecificationError,
match="Field 'link' can be string, fmf id or list of their commbinations,"
match="Field 'link' can be string, fmf id or list of their combinations,"
" 'int' found."):
Links(data=123)
with pytest.raises(SpecificationError, match='Multiple relations'):
Expand Down
2 changes: 1 addition & 1 deletion tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3537,7 +3537,7 @@ def __init__(self, *, data: Optional[_RawLinks] = None):
if data is not None and not isinstance(data, (str, dict, list)):
# TODO: deliver better key address, needs to know the parent
raise tmt.utils.NormalizationError(
'link', data, 'string, fmf id or list of their commbinations')
'link', data, 'string, fmf id or list of their combinations')

# Nothing to do if no data provided
if data is None:
Expand Down

0 comments on commit 9529a77

Please sign in to comment.