-%package -n python3-%{module}
-Summary: Rolling backport of unittest.mock for all Pythons
-Summary(pl.UTF-8): Podążający backport modułu unittest.mock dla wszystkich wersji Pythona
-Group: Development/Languages/Python
-
-%description -n python3-%{module}
-mock is a library for testing in Python. It allows you to replace
-parts of your system under test with mock objects and make assertions
-about how they have been used.
-
-mock provides a core `MagicMock` class removing the need to create a
-host of stubs throughout your test suite. After performing an action,
-you can make assertions about which methods/attributes were used and
-arguments they were called with. You can also specify return values
-and set needed attributes in the normal way.
-
-The mock module also provides utility functions/objects to assist with
-testing, particularly monkey patching.
-
-%description -n python3-%{module} -l pl.UTF-8
-mock to biblioteka do testowania w Pythonie. Pozwala na zastępowanie
-części testowanego systemu obiektami "mock" oraz sprawdzania zapewnień
-(assert) o tym, jak zostały użyte.
-
-mock udostępnia klasę główną "MagicMock", dzięki której nie trzeba
-tworzyć systemu zaślepek do testów. W czasie wykonywania akcji można
-kontrolować, czy odpowiednie metody/atrybuty zostały użyte i z jakimi
-argumentami. Można określić zwracane wartości i w zwykły sposób
-ustawiać potrzebne atrybuty.
-
-Moduł mock udostępnia także funkcje/obiekty narzędziowe pomagające
-przy testowaniu, w szczególności łataniu.
-