Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Return ListLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Lambda arguments args NameParam defaults NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Return Dict Str Dict Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list
N/A N/A os N/A uuid N/A mock oslo_config fixture oslotest base oslotest mockpatch rally.common db rally plugins tests.unit fakes DatabaseFixture N/A N/A fixture Config N/A N/A Create clean DB before starting test. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super DatabaseFixture self setUp N/A db_url N/A N/A N/A os environ get RALLY_UNITTEST_DB_URL sqlite:// N/A N/A N/A db engine_reset N/A N/A N/A N/A self conf set_default connection db_url group database N/A N/A N/A db schema_cleanup N/A N/A N/A db schema_create N/A N/A TestCase N/A N/A base BaseTestCase N/A N/A Test case base class for all unit tests. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestCase self setUp N/A N/A N/A self addCleanup N/A N/A mock patch stopall N/A N/A N/A plugins load N/A _test_atomic_action_timer N/A N/A self atomic_actions name N/A N/A N/A action_duration N/A N/A atomic_actions get name N/A N/A N/A self assertIsNotNone action_duration N/A N/A N/A self assertIsInstance action_duration float N/A assertSequenceEqual N/A N/A self iterable_1 iterable_2 msg N/A None N/A N/A N/A N/A self assertEqual N/A tuple iterable_1 N/A tuple iterable_2 msg N/A N/A DBTestCase N/A TestCase N/A N/A Base class for tests which use DB. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super DBTestCase self setUp N/A N/A N/A self useFixture N/A DatabaseFixture N/A N/A ScenarioTestCase N/A TestCase N/A N/A Base class for Scenario tests using mocked self.clients. N/A benchmark_utils rally.task.utils N/A patch_benchmark_utils True client_factory N/A N/A self client_type version admin N/A None False N/A N/A Create a new client object. N/A N/A N/A mock MagicMock client_type client_type version version admin admin N/A clients N/A N/A self client_type version admin N/A None False N/A N/A Get a mocked client. N/A key N/A client_type version admin N/A N/A key N/A self _clients N/A N/A N/A N/A self _clients N/A key N/A N/A self client_factory client_type version version admin admin N/A N/A N/A self _clients N/A key N/A admin_clients N/A N/A self client_type version N/A None N/A N/A Get a mocked admin client. N/A N/A N/A self clients client_type version version admin True N/A client_created N/A N/A self client_type version admin N/A None False N/A N/A Determine if a client has been created.

        This can be used to see if a scenario calls
        'self.clients("foo")', without checking to see what was done
        with the client object returned by that call.
         N/A key N/A client_type version admin N/A N/A key N/A self _clients N/A get_client_mocks N/A N/A self N/A N/A N/A base_path rally.plugins.openstack N/A N/A N/A N/A mock patch N/A %s.scenario.OpenStackScenario.clients base_path N/A N/A mock Mock side_effect N/A self clients N/A N/A mock patch N/A %s.scenario.OpenStackScenario.admin_clients base_path N/A N/A mock Mock side_effect N/A self admin_clients N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ScenarioTestCase self setUp N/A N/A self patch_benchmark_utils N/A N/A N/A self mock_resource_is N/A N/A mockpatch Patch N/A N/A self benchmark_utils .resource_is N/A N/A self mock_get_from_manager N/A N/A mockpatch Patch N/A N/A self benchmark_utils .get_from_manager N/A N/A self mock_wait_for N/A N/A mockpatch Patch N/A N/A self benchmark_utils .wait_for N/A N/A self mock_wait_for_delete N/A N/A mockpatch Patch N/A N/A self benchmark_utils .wait_for_delete N/A N/A self mock_wait_for_status N/A N/A mockpatch Patch N/A N/A self benchmark_utils .wait_for_status N/A N/A N/A self useFixture N/A self mock_resource_is N/A N/A N/A self useFixture N/A self mock_get_from_manager N/A N/A N/A self useFixture N/A self mock_wait_for N/A N/A N/A self useFixture N/A self mock_wait_for_delete N/A N/A N/A self useFixture N/A self mock_wait_for_status N/A N/A self mock_sleep N/A N/A mockpatch Patch time.sleep N/A N/A N/A self useFixture N/A self mock_sleep N/A N/A self _clients N/A N/A N/A self _client_mocks N/A N/A self get_client_mocks N/A patcher N/A self _client_mocks N/A N/A N/A N/A patcher start N/A N/A self context N/A get_test_context N/A tearDown N/A N/A self N/A N/A N/A patcher N/A self _client_mocks N/A N/A N/A N/A patcher stop N/A N/A N/A N/A super ScenarioTestCase self tearDown N/A N/A ContextClientAdapter N/A object N/A __init__ N/A N/A self endpoint test_case N/A N/A N/A N/A self endpoint endpoint N/A N/A self test_case test_case N/A mock_client N/A N/A self name version N/A None N/A N/A admin N/A N/A N/A self endpoint startswith admin N/A client N/A N/A N/A self test_case clients name version version admin admin N/A N/A N/A isinstance N/A client return_value N/A mock Mock N/A N/A N/A client return_value N/A N/A N/A client side_effect None N/A N/A N/A client N/A client N/A __getattr__ N/A N/A self name N/A N/A N/A N/A N/A N/A version N/A None N/A N/A self mock_client name version N/A N/A ContextTestCase N/A ScenarioTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ContextTestCase self setUp N/A N/A self _adapters N/A N/A context_client N/A N/A self endpoint api_info N/A None N/A N/A N/A endpoint N/A self _adapters N/A N/A N/A N/A self _adapters N/A endpoint N/A ContextClientAdapter endpoint self N/A N/A N/A self _adapters N/A endpoint N/A get_client_mocks N/A N/A self N/A N/A N/A N/A N/A N/A mock patch rally.osclients.Clients N/A N/A mock Mock side_effect N/A self context_client N/A N/A FakeClientsScenarioTestCase N/A ScenarioTestCase N/A N/A Base class for Scenario tests using fake (not mocked) self.clients. client_factory N/A N/A self client_type version admin N/A None False N/A N/A N/A N/A getattr N/A self _fake_clients client_type N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super FakeClientsScenarioTestCase self setUp N/A N/A self _fake_clients N/A N/A fakes FakeClients N/A N/A get_test_context N/A N/A N/A N/A N/A N/A task N/A uuid N/A str N/A N/A uuid uuid4 N/A