Information about the package, python-httpretty, which is shipped with common Linux distributions. The python-httpretty package is designed for, HTTP request mock tool for Python.
Package Name:
python-httpretty
Summary:
HTTP request mock tool for Python
Description:
Once upon a time a python developer wanted to use a RESTful API, everything was fine but until the day he needed to test the code that hits the RESTful API: what if the API server is down? What if its content has changed? Don't worry, HTTPretty is here for you.
Architecture:
noarch
Version:
0.8.14
Release:
2.20161011git70af1f8.el6
Size:
44 k
Repository:
epel
From Repository:
Licence:
MIT
Control the python-httpretty package with the following handy commands outlined below.
yum install python-httpretty
This command will install python-httpretty on the server.
yum remove python-httpretty
This command will un-install python-httpretty on the server. When you run this command, you will be asked if you are sure that you want to remove python-httpretty, so you have to manually confirm that you want to do this.
yum -y remove python-httpretty
This command will un-install python-httpretty 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 python-httpretty when using the -y flag.
yum update python-httpretty
This command will update python-httpretty to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-httpretty, so you have to manually confirm that you want to do this.
yum -y update python-httpretty
This command will update python-httpretty 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 python-httpretty when using the -y flag.
yum info python-httpretty
This command will show you core information about the python-httpretty package.
yum deplist python-httpretty
This command will show you the dependencies for python-httpretty. 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 python-httpretty
This command will check if there is an update waiting on python-httpretty. 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.