diff --git a/akm_tools/validation/custom_exceptions.py b/akm_tools/validation/custom_exceptions.py index 22dfb22..9545c66 100644 --- a/akm_tools/validation/custom_exceptions.py +++ b/akm_tools/validation/custom_exceptions.py @@ -11,7 +11,7 @@ def __init__(self, instances: List[Dict]): class BaseInstanceOverwiteException(Exception): def __init__(self, base_instance, extended_instance): err_msg = ( - f"The extended instace :\n{extended_instance}\nis overwriting properties of base instance\n{base_instance}\n" + f"The extended instance :\n{extended_instance}\nis overwriting properties of base instance\n{base_instance}\n" ) super().__init__(err_msg) self.message = err_msg diff --git a/tests/test_custom_exceptions.py b/tests/test_custom_exceptions.py index 72b9388..81111e0 100644 --- a/tests/test_custom_exceptions.py +++ b/tests/test_custom_exceptions.py @@ -26,7 +26,7 @@ def test_BaseInstanceOverwiteException(): raise BaseInstanceOverwiteException(base_instance, extended_instance) assert ( str(excinfo.value) - == f"The extended instace :\n{extended_instance}\nis overwriting properties of base instance\n{base_instance}\n" + == f"The extended instance :\n{extended_instance}\nis overwriting properties of base instance\n{base_instance}\n" )