FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py3-mock Mock unit tests for Python
2.0.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: jessekempf@gmail.com search for ports maintained by this maintainer
Port Added: 10 Jun 2017 02:52:17
Also Listed In: python
License: BSD2CLAUSE
A Python Mocking and Patching Library for Testing

mock is a Python module that provides a core Mock class. It is intended to
reduce the need for creating 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 needed attributes in the normal way.

WWW: https://pypi.python.org/pypi/mock
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/py3-mock/ && make install clean
To add the package: pkg install py36-mock

PKGNAME: py36-mock

distinfo:

TIMESTAMP = 1490606425
SHA256 (mock-2.0.0.tar.gz) = b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
SIZE (mock-2.0.0.tar.gz) = 73684


Master port: devel/py-mock

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py36-pbr>=1.3 : devel/py3-pbr
  2. py36-six>=1.9 : devel/py3-six
  3. py36-setuptools>0 : devel/py36-setuptools
  4. python3.6 : lang/python36
Runtime dependencies:
  1. py36-pbr>=1.3 : devel/py3-pbr
  2. py36-six>=1.9 : devel/py3-six
  3. py36-setuptools>0 : devel/py36-setuptools
  4. python3.6 : lang/python36
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python:3.2+

Master Sites:
  1. https://files.pythonhosted.org/packages/source/m/mock/
  2. https://pypi.python.org/packages/source/m/mock/

Number of commits found: 1

Commit History - (may be incomplete: see SVNWeb link above for full details)
This is a slave port. You may also want to view the commits to the master port: devel/py-mock
DateByDescription
10 Jun 2017 02:52:09
Original commit files touched by this commit  2.0.0
Revision:443064
woodsb02 search for other commits by this committer
[NEW] devel/py3-mock: Add Python 3.x version of this port

PR:		219833

Number of commits found: 1

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
arjOct 19
cactiOct 19
mariadb100-serverOct 19
mariadb101-serverOct 19
mariadb102-serverOct 19
mariadb55-serverOct 19
mysql55-serverOct 19
mysql56-serverOct 19
mysql57-serverOct 19
percona55-serverOct 19
percona56-serverOct 19
percona57-serverOct 19
krb5Oct 18
krb5-113Oct 18
krb5-114Oct 18

22 vulnerabilities affecting 93 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31598
Broken 153
Deprecated 75
Ignore 422
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 58
Expired 16
Set to expire 68
Interactive 0
new 24 hours 12
new 48 hours15
new 7 days25
new fortnight49
new month108

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.