Revision d4517eeb docs/installation.rst

b/docs/installation.rst
79 79

  
80 80
    $ sudo apt-get install python-ansicolors
81 81

  
82
Install mock (for developers only)
83
""""""""""""""""""""""""""""""""""
84

  
85
.. code-block:: console
86

  
87
    $ sudo apt-get install python-mock
88

  
89
.. warning:: kamaki.clients unit-tests need python-mock 1.X or better. e.g.,::
90

  
91
    $ sudo apt-get install python-mock=1.0.1
92

  
93
.. hint:: To activate functional tests in kamaki enable the preconfigured
94
    *livetest* command group:
95

  
96
    .. code-block:: console
97

  
98
        $ kamaki config set livetest_cli livetest
99

  
100 82

  
101 83
.. _installing-from-pypi-ref:
102 84

  
......
146 128

  
147 129
    $ pip install ansicolors
148 130

  
149
Install mock (developers only)
150
""""""""""""""""""""""""""""""
151

  
152
The **mock** package is needed for running the prepared unit-tests in the
153
kamaki.clients package. This feature is useful when extending / debugging
154
kamaki functionality and is aimed to kamaki developers and contributors.
155
Therefore, users can enjoy the full kamaki user experience without installing
156
mock.
157

  
158
.. code-block:: console
159

  
160
    $ pip install mock
161

  
162
.. warning:: mock version >= 1.X
163

  
164
.. hint:: To activate functional tests in kamaki. enable the preconfigured
165
    *livetest* command group:
166

  
167
    .. code-block:: console
168

  
169
        $ kamaki config set livetest_cli livetest
170

  
171 131

  
172 132
Mac OS X
173 133
--------

Also available in: Unified diff