Metadata-Version: 2.1
Name: internet-sabotage3
Version: 0.1.4
Summary: Disable network connection for Testing
Home-page: https://github.com/PetrDlouhy/python-internet-sabotage
Author: André Luiz
Author-email: contato@xdvl.info
License: MIT
Keywords: internet disable unittest
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Testing
Description-Content-Type: text/x-rst
License-File: LICENSE

Internet Sabotage
=================

Python package to simulate internet failures for testing purposes.

This fork fix error in original repository. The library is working at 100%.

Installation
------------

.. code:: shell

    $ pip install internet-sabotage2

Usage
-----

.. code:: python

    from internet_sabotage import no_connection

    with no_connection():
        response = requests.get('http://httpbin.org/ip')

or

.. code:: python

    from internet_sabotage import no_connection

    @no_connection
    def test_something():
        pass

License
-------

MIT


