Document Fakes

This commit is contained in:
Todd Willey
2010-10-29 11:58:57 -04:00
parent 73ef647687
commit e2d4ba1525
3 changed files with 34 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ Contents
compute
network
auth
fakes
Older Contents

View File

@@ -15,8 +15,13 @@
License for the specific language governing permissions and limitations
under the License.
Nova Fakes
==========
Fakes Programming Guide
=======================
::
TODO(todd): * document general info about fakes
The :mod:`virt.fake` Module
---------------------------
@@ -41,3 +46,28 @@ The :mod:`fakerabbit` Module
:members:
:undoc-members:
:show-inheritance:
The :class:`FakeAOEDriver` Class
--------------------------------
.. autoclass:: nova.volume.driver.FakeAOEDriver
:members:
:undoc-members:
:show-inheritance:
The :class:`service_unittest.FakeManager` Class
-----------------------------------------------
.. autoclass:: nova.tests.service_unittest.FakeManager
:members:
:undoc-members:
:show-inheritance:
The :mod:`api.openstack.fakes` Module
------------------------------------------------
.. automodule:: nova.tests.api.openstack.fakes
:members:
:undoc-members:
:show-inheritance:

View File

@@ -15,9 +15,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""
Fake LDAP server for test harness, backs to ReDIS.
"""Fake LDAP server for test harness, backs to ReDIS.
This class does very little error checking, and knows nothing about ldap
class definitions. It implements the minimum emulation of the python ldap