Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python3-mock
etiona  ] [  nabia  ] [  aramo  ]
[ Source: python-mock  ]

Package: python3-mock (2.0.0-3)

Mocking and Testing Library (Python3 version)

mock provides a core mock.Mock class that is intended to reduce the need to create a host of trivial 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 specific attributes in the normal way.

This package contains the Python 3 version of the library.

Other Packages Related to python3-mock

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pbr (>= 1.3)
    inject useful and sensible default behaviors into setuptools - Python 3.x
  • dep: python3-six (>= 1.9)
    Python 2 and 3 compatibility library (Python 3 interface)

Download python3-mock

Download for all available architectures
Architecture Package Size Installed Size Files
all 46.4 kB281 kB [list of files]