Information about the package, python34-mock, which is shipped with common Linux distributions. The python34-mock package is designed for, A Python Mocking and Patching Library for Testing.
Package Name:
python34-mock
Summary:
A Python Mocking and Patching Library for Testing
Description:
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.
Architecture:
noarch
Version:
1.0.1
Release:
10.el6
Size:
93 k
Repository:
epel
From Repository:
Licence:
BSD
Control the python34-mock package with the following handy commands outlined below.
yum install python34-mock
This command will install python34-mock on the server.
yum remove python34-mock
This command will un-install python34-mock on the server. When you run this command, you will be asked if you are sure that you want to remove python34-mock, so you have to manually confirm that you want to do this.
yum -y remove python34-mock
This command will un-install python34-mock on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python34-mock when using the -y flag.
yum update python34-mock
This command will update python34-mock to the latest version. When you run this command, you will be asked if you are sure that you want to remove python34-mock, so you have to manually confirm that you want to do this.
yum -y update python34-mock
This command will update python34-mock to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python34-mock when using the -y flag.
yum info python34-mock
This command will show you core information about the python34-mock package.
yum deplist python34-mock
This command will show you the dependencies for python34-mock. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update python34-mock
This command will check if there is an update waiting on python34-mock. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.