diff --git a/pganonymize/utils.py b/pganonymize/utils.py index 211720e..b9fca23 100644 --- a/pganonymize/utils.py +++ b/pganonymize/utils.py @@ -379,7 +379,7 @@ def nested_set(dic, path, value, delimiter='.'): Set dictionary value by path. :param dict dic: The source dictionary - :param str path: The path withing dictionary + :param str path: The path within dictionary :param value: The value to be set :param str delimiter: The path delimiter """ diff --git a/tests/test_providers.py b/tests/test_providers.py index 4484316..0a2db9b 100644 --- a/tests/test_providers.py +++ b/tests/test_providers.py @@ -142,7 +142,7 @@ def test_alter_value_with_locale(self, mock_faker): providers.FakeProvider.alter_value('Foo', name='fake.date_of_birth', locale='de_DE') assert mock_faker['de_DE'].date_of_birth.call_count == 1 - def test_alter_value_with_unkown_locale(self): + def test_alter_value_with_unknown_locale(self): with pytest.raises(InvalidProviderArgument): providers.FakeProvider.alter_value('Foo', name='fake.date_of_birth', locale='de_DE')