This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Python > mock (2.0.0)

mock (unit test library for Python 2)

mock is a library for testing in Python 2. It allows you to replace parts of
your system under test with mock objects, and to make assertions about how they
have been used.

IMPORTANT: For Python3 you do not need this module. Please use the standard
library instead (unittest.mock). This package contains a rolling backport of
the standard library compatible with Python 2.7.

This requires: pbr

Maintained by: David Spencer
Keywords: testing,mocking,mock,tahoe
ChangeLog: mock


Source Downloads:
mock-2.0.0.tar.gz (0febfafd14330c9dcaa40de2d82d40ad)

Download SlackBuild:
mock.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds