python3-module-mock-2.0.0-alt1.noarch.rpm


Advertisement

Description

python3-module-mock - A Python Mocking and Patching Library for Testing

Property Value
Distribution ALT Linux Sisyphus
Repository Classic noarch
Package filename python3-module-mock-2.0.0-alt1.noarch.rpm
Package name python3-module-mock
Package version 2.0.0
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Python
Homepage -
License -
Maintainer -
Download size 622.54 KB
Installed size 622.54 KB
Mock is a Python module that provides a core mock class. It removes 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.

Alternatives

Package Version Architecture Repository
python3-module-mock - - -

Requires

Name Value
/usr/lib/python3/site-packages -
python3(__future__) < 0
python3(copy) < 0
python3(datetime) < 0
python3(functools) < 0
python3(inspect) < 0
python3(os) < 0
python3(pbr.version) < 0
python3(pickle) < 0
python3(pprint) < 0
python3(six) < 0
python3(tempfile) < 0
python3(textwrap) < 0
python3(types) < 0
python3(unittest) < 0
python3(unittest2) < 0
python3(warnings) < 0
rpmlib(PayloadIsLzma) -

Provides

Name Value
python3(mock) -
python3(mock.mock) -
python3(mock.tests) -
python3(mock.tests.__main__) -
python3(mock.tests.support) -
python3(mock.tests.testcallable) -
python3(mock.tests.testhelpers) -
python3(mock.tests.testmagicmethods) -
python3(mock.tests.testmock) -
python3(mock.tests.testpatch) -
python3(mock.tests.testsentinel) -
python3(mock.tests.testwith) -
python3-module-mock = 2.0.0-alt1:sisyphus+224400.100.2.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package python3-module-mock-2.0.0-alt1.noarch.rpm
Source Package python-module-mock-2.0.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
    
  2. Update the package index:
    # sudo apt-get update
  3. Install python3-module-mock rpm package:
    # sudo apt-get install python3-module-mock

Files

Path
/usr/lib/python3/site-packages/mock/__init__.py
/usr/lib/python3/site-packages/mock/mock.py
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/not-zip-safe
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/pbr.json
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/requires.txt
/usr/lib/python3/site-packages/mock-2.0.0-py3.6.egg-info/top_level.txt
/usr/lib/python3/site-packages/mock/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/__pycache__/__init__.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3/site-packages/mock/__pycache__/mock.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/__pycache__/mock.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/__pycache__/mock.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__init__.py
/usr/lib/python3/site-packages/mock/tests/__main__.py
/usr/lib/python3/site-packages/mock/tests/support.py
/usr/lib/python3/site-packages/mock/tests/testcallable.py
/usr/lib/python3/site-packages/mock/tests/testhelpers.py
/usr/lib/python3/site-packages/mock/tests/testmagicmethods.py
/usr/lib/python3/site-packages/mock/tests/testmock.py
/usr/lib/python3/site-packages/mock/tests/testpatch.py
/usr/lib/python3/site-packages/mock/tests/testsentinel.py
/usr/lib/python3/site-packages/mock/tests/testwith.py
/usr/lib/python3/site-packages/mock/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/__init__.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/__main__.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/support.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/support.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/support.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testcallable.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testcallable.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testcallable.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testhelpers.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testhelpers.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testhelpers.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmagicmethods.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmagicmethods.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmagicmethods.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmock.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmock.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testmock.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testpatch.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testpatch.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testpatch.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testsentinel.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testsentinel.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testsentinel.cpython-36.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testwith.cpython-36.opt-1.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testwith.cpython-36.opt-2.pyc
/usr/lib/python3/site-packages/mock/tests/__pycache__/testwith.cpython-36.pyc
/usr/share/doc/python3-module-mock-2.0.0/LICENSE.txt
/usr/share/doc/python3-module-mock-2.0.0/NEWS
/usr/share/doc/python3-module-mock-2.0.0/README.rst
/usr/share/doc/python3-module-mock-2.0.0/index.txt

Changelog

2016-10-17 - Alexey Shabalin <shaba@altlinux.ru> 2.0.0-alt1
- 2.0.0
2016-03-13 - Ivan Zakharyaschev <imz@altlinux.org> 1.3.0-alt1.git20150731.1.1
- (NMU) rebuild with rpm-build-python3-0.1.9
(for common python3/site-packages/ and auto python3.3-ABI dep when needed)
2016-01-28 - Mikhail Efremov <sem@altlinux.org> 1.3.0-alt1.git20150731.1
- NMU: Use buildreq for BR.
2015-08-02 - Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt1.git20150731
- Snapshot from git
2015-07-25 - Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt1
- Version 1.3.0
2014-08-29 - Lenar Shakirov <snejok@altlinux.ru> 1.0.1-alt1
- 1.0.1
2013-01-02 - Igor Vlasenko <viy@altlinux.ru> 0.8.0-alt1
- 0.8.0
2011-10-20 - Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.2-alt2
- Rebuild with Python-2.7
2011-10-17 - Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.2-alt1
- 0.7.2
2011-03-14 - Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.0-alt1
- Initial

See Also

Package Description
python3-module-mocker-1.1.1-alt1.bzr20130910.1.2.noarch.rpm graceful creation of test doubles (mocks, stubs, fakes and dummies)
python3-module-mockito-0.7.1-alt1.1.noarch.rpm Spying framework
python3-module-modargs-1.7-alt2.1.2.noarch.rpm Simple command line argument parsing library
python3-module-modepy-2013.3-alt1.git20140704.1.2.noarch.rpm Modes and nodes for high-order discretizations
python3-module-modernize-0.5-alt1.noarch.rpm A hack on top of 2to3 for modernizing code for hybrid codebases
python3-module-momoko-2.2.5.1-alt1.noarch.rpm Wraps (asynchronous) Psycopg2 for Tornado
python3-module-monascaclient-1.12.1-alt1.noarch.rpm Python API and CLI for OpenStack Monasca
python3-module-monascaclient-tests-1.12.1-alt1.noarch.rpm Tests for monascaclient
python3-module-monetdb-1.1.1-alt1.1.noarch.rpm MonetDB python interface
python3-module-moneyed-0.7-alt1.1.noarch.rpm Provides Currency and Money classes for use in your Python code
python3-module-moneyed-tests-0.7-alt1.1.noarch.rpm Tests for moneyed
python3-module-mongoengine-0.10.0-alt2.2.noarch.rpm A Python Document-Object Mapper for working with MongoDB
python3-module-monkey-0.1-alt2.2.noarch.rpm A package that provides tools for guerilla (monkey)-patching
python3-module-monotonic-1.5-alt1.noarch.rpm An implementation of time.monotonic() for Python 2 & Python 3
python3-module-more-itertools-7.0.0-alt3.noarch.rpm More routines for operating on iterables, beyond itertools
Advertisement
Advertisement