diff --git a/tests/unit/test_base.py b/tests/unit/test_base.py index e27f91ccfd..9937c9872a 100644 --- a/tests/unit/test_base.py +++ b/tests/unit/test_base.py @@ -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'): diff --git a/tmt/base.py b/tmt/base.py index 87fb934145..5e25d35555 100644 --- a/tmt/base.py +++ b/tmt/base.py @@ -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: