Skip to content

Commit

Permalink
Moved installation example to the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
themattrix committed Dec 23, 2014
1 parent eda60a4 commit bd1fa25
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ monkey-patching.

.. code:: python
@simian.patch(module=..., module_path=..., external=(...), internal=(...))
@simian.patch(module=..., module_path=..., external=[...], internal=[...])
To install:

.. code:: shell
$ pip install simian
``simian.patch`` is a convenience wrapper around `mock.patch`_ with the
Expand Down Expand Up @@ -116,14 +123,6 @@ under test must also be supplied (in this case, ``"my_package.my_module"``).
Simian uses this string to build the full target path.


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

.. code:: shell
$ pip install simian
.. |Build| image:: https://travis-ci.org/themattrix/python-simian.svg?branch=master
:target: https://travis-ci.org/themattrix/python-simian
.. |Coverage| image:: https://img.shields.io/coveralls/themattrix/python-simian.svg
Expand Down

0 comments on commit bd1fa25

Please sign in to comment.