Module FunctionDef arguments args NameParam defaults NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body Expr Call NameLoad NameLoad Return NameLoad orelse Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body For NameStore NameLoad body Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str orelse If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A load_test_data N/A N/A load_onto N/A None N/A openstack_dashboard.test.test_data ceilometer_data openstack_dashboard.test.test_data cinder_data openstack_dashboard.test.test_data exceptions openstack_dashboard.test.test_data glance_data openstack_dashboard.test.test_data heat_data openstack_dashboard.test.test_data keystone_data openstack_dashboard.test.test_data neutron_data openstack_dashboard.test.test_data nova_data openstack_dashboard.test.test_data swift_data N/A loaders N/A N/A exceptions data N/A keystone_data data N/A glance_data data N/A nova_data data N/A cinder_data data N/A neutron_data data N/A swift_data data N/A heat_data data N/A ceilometer_data data N/A load_onto N/A N/A data_func loaders N/A N/A N/A data_func load_onto N/A load_onto N/A N/A N/A TestData loaders N/A TestData N/A object N/A N/A Holder object for test data. Any functions passed to the init method
    will be called with the ``TestData`` object as their only argument. They
    can then load data onto the object as desired.

    The idea is to use the instantiated object like this::

        >>> import glance_data
        >>> TEST = TestData(glance_data.data)
        >>> TEST.images.list()
        [<Image: visible_image>, <Image: invisible_image>]
        >>> TEST.images.first()
        <Image: visible_image>

    You can load as little or as much data as you like as long as the loaders
    don't conflict with each other.

    See the
    :class:`~openstack_dashboard.test.test_data.utils.TestDataContainer`
    class for a list of available methods.
     __init__ N/A N/A self N/A args N/A N/A data_func args N/A N/A N/A data_func self N/A N/A TestDataContainer N/A object N/A N/A A container for test data objects.

    The behavior of this class is meant to mimic a "manager" class, which
    has convenient shortcuts for common actions like "list", "filter", "get",
    and "add".
     __init__ N/A N/A self N/A N/A N/A N/A self _objects N/A N/A add N/A N/A self N/A args N/A N/A Add a new object to this container.

        Generally this method should only be used during data loading, since
        adding data during a test can affect the results of other tests.
         N/A obj args N/A N/A N/A obj N/A self _objects N/A N/A N/A N/A N/A self _objects append obj N/A list N/A N/A self N/A N/A N/A Returns a list of all objects in this container. N/A N/A self _objects N/A filter N/A N/A self filtered N/A None kwargs N/A N/A Returns objects in this container whose attributes match the given
        keyword arguments.
         N/A N/A filtered None N/A N/A filtered N/A self _objects N/A N/A N/A N/A key value N/A N/A kwargs popitem N/A N/A N/A KeyError N/A N/A filtered get_match N/A N/A obj N/A N/A N/A N/A N/A hasattr obj key N/A N/A getattr obj key value N/A N/A filtered N/A obj N/A obj filtered N/A get_match obj N/A N/A N/A self filter filtered filtered kwargs N/A get N/A N/A self N/A kwargs N/A N/A Returns the single object in this container whose attributes match
        the given keyword arguments. An error will be raised if the arguments
        provided don't return exactly one match.
         N/A matches N/A N/A self filter kwargs N/A N/A matches N/A N/A N/A Exception No matches found. N/A N/A N/A N/A len matches 1 N/A N/A N/A Exception Multiple matches found. N/A N/A N/A N/A matches pop N/A first N/A N/A self N/A N/A N/A Returns the first object from this container. N/A N/A N/A self _objects N/A 0 N/A count N/A N/A self N/A N/A N/A N/A len N/A self _objects N/A N/A