Updated outdated docstring, fixed typo/space
Change-Id: Ie0770eb4c9c3dd859d393f4005cb1b63bd9176c2 Closes-Bug: #1288887
This commit is contained in:
parent
116e12cf97
commit
29f9fc75d0
@ -106,8 +106,9 @@ class TestCase(horizon_helpers.TestCase):
|
|||||||
|
|
||||||
* A full suite of test data through various attached objects and
|
* A full suite of test data through various attached objects and
|
||||||
managers (e.g. ``self.servers``, ``self.user``, etc.). See the
|
managers (e.g. ``self.servers``, ``self.user``, etc.). See the
|
||||||
docs for :class:`~horizon.tests.test_data.utils.TestData` for more
|
docs for
|
||||||
information.
|
:class:`~openstack_dashboard.test.test_data.utils.TestData`
|
||||||
|
for more information.
|
||||||
* The ``mox`` mocking framework via ``self.mox``.
|
* The ``mox`` mocking framework via ``self.mox``.
|
||||||
* A set of request context data via ``self.context``.
|
* A set of request context data via ``self.context``.
|
||||||
* A ``RequestFactory`` class which supports Django's ``contrib.messages``
|
* A ``RequestFactory`` class which supports Django's ``contrib.messages``
|
||||||
|
@ -63,8 +63,9 @@ class TestData(object):
|
|||||||
You can load as little or as much data as you like as long as the loaders
|
You can load as little or as much data as you like as long as the loaders
|
||||||
don't conflict with each other.
|
don't conflict with each other.
|
||||||
|
|
||||||
See the :class:`~horizon.tests.test_data.utils.TestDataContainer` class
|
See the
|
||||||
for a list of available methods.
|
:class:`~openstack_dashboard.test.test_data.utils.TestDataContainer`
|
||||||
|
class for a list of available methods.
|
||||||
"""
|
"""
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
for data_func in args:
|
for data_func in args:
|
||||||
|
Loading…
Reference in New Issue
Block a user