Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Assign NameStore Str decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Assign NameStore Str decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call NameLoad Call NameLoad ListLoad Num Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str With Call AttributeLoad NameLoad attr NameStore body For NameStore NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str With Call AttributeLoad NameLoad attr NameStore body For NameStore NameLoad body Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad NameLoad attr NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body With Call AttributeLoad NameLoad attr NameStore body Raise Call NameLoad handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad Call NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr TupleLoad Num Num Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults CompareEq NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults CompareEq NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults CompareEq NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam defaults CompareEq NameLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListComp TupleLoad Dict Str Str Str Call NameLoad NameLoad Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Str body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Dict Str NameLoad decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Dict Str NameLoad decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Dict Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad TupleLoad Str BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict Str BoolOpOr NameLoad Str decorator_list For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpMod Str Dict Str Str Str NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpMod Str Dict Str Str Str NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str Str TupleLoad Str Str Str TupleLoad Str Str Str Str Str Str Str Str Dict Str Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str Str Str Dict Str Str Str Str Str NameLoad TupleLoad Str Str Str Str TupleLoad Str Str Str Dict Str Str Str Str Str Str TupleLoad Str Str TupleLoad Str Str Str Str Str Str Str Str Dict Str Str Str Str TupleLoad Str TupleLoad Str Str Str Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str Str ListLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad ListLoad Num Num Num ListLoad Num Num ListLoad Num Num Num Num Num ListLoad ListLoad Num ListLoad Num Num Num Num Num Num Num ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Dict Str Str ListLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad ListLoad Num Num Num ListLoad Num Num ListLoad Num Num Num Num Num ListLoad ListLoad Num ListLoad Num Num Num Num Num Num Num ListLoad ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Dict Str Str ListLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad ListLoad Num Num Num ListLoad Num Num ListLoad Num Num Num Num Num ListLoad ListLoad Num ListLoad Num Num Num Num Num Num Num ListLoad ListLoad ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Dict Str Str ListLoad ListLoad ListLoad Num Num Num ListLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad ListLoad ListLoad Num Num Num ListLoad Num Num ListLoad Num Num Num Num Num ListLoad ListLoad Num ListLoad Num Num Num Num Num Num Num ListLoad ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Dict Str Str ListLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Dict Str Str ListLoad ListLoad Dict Str Str ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLt NameLoad Num BinOpMod Str NameLoad decorator_list decorator_list
N/A __future__ print_function N/A string N/A sys N/A threading N/A time N/A ddt N/A mock six.moves queue Queue N/A testtools rally.common utils rally exceptions tests.unit test ImmutableMixinTestCase N/A N/A test TestCase N/A test_without_base_values N/A N/A self N/A N/A N/A im N/A N/A utils ImmutableMixin N/A N/A N/A self assertRaises N/A exceptions ImmutableException N/A im __setattr__ test test N/A test_with_base_values N/A N/A self N/A N/A A N/A N/A utils ImmutableMixin N/A __init__ N/A N/A self test N/A N/A N/A N/A self test test N/A N/A N/A N/A super A self __init__ N/A N/A N/A a N/A A test N/A N/A N/A self assertRaises N/A exceptions ImmutableException N/A a __setattr__ abc test N/A N/A N/A self assertEqual N/A a test test N/A N/A EnumMixinTestCase N/A N/A test TestCase N/A test_enum_mix_in N/A N/A self N/A N/A Foo N/A N/A utils EnumMixin N/A N/A a 10 N/A b 20 N/A CC 2000 N/A N/A N/A N/A self assertEqual N/A set N/A list N/A Foo N/A set N/A 10 20 2000 N/A test_with_underscore N/A N/A self N/A N/A Foo N/A N/A utils EnumMixin N/A N/A a 10 N/A b 20 N/A _CC 2000 N/A N/A N/A N/A self assertEqual N/A set N/A list N/A Foo N/A set N/A 10 20 N/A N/A StdIOCaptureTestCase N/A N/A test TestCase N/A test_stdout_capture N/A N/A self N/A N/A N/A stdout N/A sys stdout N/A messages N/A abcdef defgaga N/A N/A N/A utils StdOutCapture out N/A N/A msg messages N/A N/A N/A print msg N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A out getvalue rstrip split messages N/A N/A N/A self assertEqual stdout N/A sys stdout N/A test_stderr_capture N/A N/A self N/A N/A N/A stderr N/A sys stderr N/A messages N/A abcdef defgaga N/A N/A N/A utils StdErrCapture err N/A N/A msg messages N/A N/A N/A print msg file N/A sys stderr N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A err getvalue rstrip split messages N/A N/A N/A self assertEqual stderr N/A sys stderr N/A N/A TimerTestCase N/A N/A test TestCase N/A test_timer_duration N/A N/A self N/A N/A N/A start_time N/A N/A time time N/A end_time N/A N/A time time N/A N/A N/A mock patch rally.common.utils.time mock_time N/A N/A N/A mock_time time N/A N/A mock MagicMock return_value start_time N/A N/A N/A utils Timer timer N/A N/A N/A mock_time time N/A N/A mock MagicMock return_value end_time N/A N/A N/A self assertIsNone N/A timer error N/A N/A N/A self assertEqual N/A end_time start_time N/A N/A timer duration N/A test_timer_exception N/A N/A self N/A N/A N/A N/A N/A N/A N/A utils Timer timer N/A N/A N/A Exception N/A N/A N/A Exception N/A N/A N/A N/A N/A self assertEqual 3 N/A len N/A timer error N/A N/A N/A self assertEqual N/A N/A timer error N/A 0 N/A type N/A Exception N/A N/A module_level_method N/A N/A N/A N/A N/A N/A MethodClassTestCase N/A N/A test TestCase N/A test_method_class_for_class_level_method N/A N/A self N/A N/A A N/A object N/A m N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self assertEqual A N/A N/A utils get_method_class N/A A m N/A N/A N/A testtools skipIf N/A N/A sys version_info N/A 2 9 Problems with access to class from <locals> test_method_class_for_module_level_method N/A N/A self N/A N/A N/A N/A N/A self assertIsNone N/A N/A utils get_method_class module_level_method N/A N/A FirstIndexTestCase N/A N/A test TestCase N/A test_list_with_existing_matching_element N/A N/A self N/A N/A N/A lst N/A 1 3 5 7 N/A N/A N/A self assertEqual N/A N/A utils first_index lst N/A N/A N/A e N/A N/A e 1 0 N/A N/A N/A self assertEqual N/A N/A utils first_index lst N/A N/A N/A e N/A N/A e 5 2 N/A N/A N/A self assertEqual N/A N/A utils first_index lst N/A N/A N/A e N/A N/A e 7 3 N/A test_list_with_non_existing_matching_element N/A N/A self N/A N/A N/A lst N/A 1 3 5 7 N/A N/A N/A self assertIsNone N/A N/A utils first_index lst N/A N/A N/A e N/A N/A e 2 N/A N/A EditDistanceTestCase N/A N/A test TestCase N/A test_distance_empty_strings N/A N/A self N/A N/A N/A dist N/A N/A utils distance N/A N/A N/A self assertEqual 0 dist N/A test_distance_equal_strings N/A N/A self N/A N/A N/A dist N/A N/A utils distance abcde abcde N/A N/A N/A self assertEqual 0 dist N/A test_distance_replacement N/A N/A self N/A N/A N/A dist N/A N/A utils distance abcde __cde N/A N/A N/A self assertEqual 2 dist N/A test_distance_insertion N/A N/A self N/A N/A N/A dist N/A N/A utils distance abcde ab__cde N/A N/A N/A self assertEqual 2 dist N/A test_distance_deletion N/A N/A self N/A N/A N/A dist N/A N/A utils distance abcde abc N/A N/A N/A self assertEqual 2 dist N/A N/A TenantIteratorTestCase N/A N/A test TestCase N/A test_iterate_per_tenant N/A N/A self N/A N/A N/A users N/A N/A tenants_count 2 N/A users_per_tenant 5 N/A tenant_id N/A range tenants_count N/A N/A user_id N/A range users_per_tenant N/A N/A N/A N/A users append N/A id tenant_id N/A str user_id N/A str tenant_id N/A expected_result N/A N/A N/A id tenant_id 0 N/A str i N/A str i N/A i N/A range tenants_count N/A real_result N/A i N/A i N/A N/A utils iterate_per_tenants users N/A N/A N/A self assertEqual expected_result real_result N/A N/A RAMIntTestCase N/A N/A test TestCase N/A test__int__ N/A N/A self N/A N/A N/A N/A N/A self assertEqual 0 N/A int N/A N/A utils RAMInt N/A N/A N/A self assertEqual 10 N/A int N/A N/A utils RAMInt 10 N/A test__str__ N/A N/A self N/A N/A N/A N/A N/A self assertEqual 0 N/A str N/A N/A utils RAMInt N/A N/A N/A self assertEqual 20 N/A str N/A N/A utils RAMInt 20 N/A test__next__ N/A N/A self N/A N/A N/A ri N/A N/A utils RAMInt N/A i N/A range 0 3 N/A N/A N/A N/A self assertEqual i N/A next ri N/A test_next N/A N/A self N/A N/A N/A ri N/A N/A utils RAMInt N/A i N/A range 0 3 N/A N/A N/A N/A self assertEqual i N/A N/A ri next N/A test_reset N/A N/A self N/A N/A N/A ri N/A N/A utils RAMInt N/A N/A N/A ri next N/A N/A N/A ri reset N/A N/A N/A self assertEqual 0 N/A int ri N/A N/A RandomNameTestCase N/A N/A test TestCase N/A test_generate_random_name N/A N/A self mock_choice task_id expected fmt N/A faketask s_rally_faketask_blargles s_rally_XXXXXXXX_XXXXXXXX N/A FakeNameGenerator N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT fmt N/A task N/A uuid task_id N/A N/A generator N/A FakeNameGenerator N/A N/A mock_choice side_effect N/A iter blarglesdweebled N/A N/A N/A self assertEqual N/A N/A generator generate_random_name expected FakeNameGenerator N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT fmt N/A verification N/A uuid task_id N/A N/A generator N/A FakeNameGenerator N/A N/A mock_choice side_effect N/A iter blarglesdweebled N/A N/A N/A self assertEqual N/A N/A generator generate_random_name expected N/A N/A N/A ddt data N/A N/A task_id fake-task N/A task_id expected 2short s_rally_blargles_dweebled N/A task_id expected fake!task s_rally_blargles_dweebled N/A fmt expected XXXX-test-XXX-test fake-test-bla-test N/A ddt unpack N/A N/A mock patch random.choice test_generate_random_name_bogus_name_format N/A N/A self N/A N/A FakeNameGenerator N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT invalid_XXX_format N/A task N/A uuid fake-task-id N/A N/A generator N/A FakeNameGenerator N/A N/A N/A self assertRaises ValueError N/A generator generate_random_name N/A test_cls_name_matches_object N/A N/A self good bad fmt chars task_id exact N/A N/A N/A rally_XXXXXXXX_XXXXXXXX N/A N/A string ascii_letters N/A string digits None True N/A FakeNameGenerator N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT fmt N/A RESOURCE_NAME_ALLOWED_CHARACTERS chars N/A task N/A uuid N/A task_id fakeuuid N/A N/A name good N/A N/A N/A N/A self assertTrue N/A N/A FakeNameGenerator name_matches_object name task_id exact N/A %(name)s unexpectedly didn't match RESOURCE_NAME_FORMAT %(fmt)s with exact=%(exact)s N/A name fmt exact name fmt exact N/A name bad N/A N/A N/A N/A self assertFalse N/A N/A FakeNameGenerator name_matches_object name task_id exact N/A %(name)s unexpectedly matched RESOURCE_NAME_FORMAT %(fmt)s with exact=%(exact)s N/A name fmt exact name fmt exact N/A N/A N/A ddt data N/A good bad N/A rally_abcdefgh_abcdefgh rally_12345678_abcdefgh rally_ABCdef12_ABCdef12 N/A rally_abcd_efgh rally_abcd!efg_12345678 rally_ rally__ rally_abcdefgh_ rally_abcdefghi_12345678 foo foo_abcdefgh_abcdefgh N/A task_id good bad abcd1234 N/A rally_abcd1234_abcdefgh rally_abcd1234_abcd1234 rally_abcd1234_AbCdEf12 N/A rally_12345678_abcdefgh rally_12345678_abcd1234 rally_abcd1234_ rally_abcd1234_!!!!!!!! rally_ABCD1234_abcdefgh N/A task_id exact good bad abcd1234 False N/A rally_abcd1234_abcdefghfoo rally_abcd1234_abcdefgh rally_abcd1234_abcdefgh-bar rally_abcd1234_abcdefgh+!@$ N/A rally_abcd1234_ rally_abcd1234_!!!!!!!! rally_abcd1234_abcdefg N/A fmt chars good bad ][*_XXX_XXX abc(.*) N/A ][*_abc_abc ][*_abc_((( N/A rally_ab_cd rally_ab!_abc rally_ rally__ rally_abc_ rally_abcd_abc foo foo_abc_abc N/A fmt good bad XXXX-test-XXX-test N/A abcd-test-abc-test N/A rally-abcdefgh-abcdefgh abc-test-abc-test abcd_test_abc_test abc-test-abcd-test N/A ddt unpack test_name_matches_object N/A N/A self N/A N/A N/A name foo N/A obj N/A N/A mock Mock N/A N/A N/A self assertTrue N/A N/A utils name_matches_object name obj N/A N/A N/A N/A obj name_matches_object assert_called_once_with name N/A test_name_matches_object_kwargs N/A N/A self N/A N/A N/A name foo N/A obj N/A N/A mock Mock N/A N/A N/A self assertTrue N/A N/A utils name_matches_object name obj task_id taskid exact False N/A N/A N/A N/A obj name_matches_object assert_called_once_with name task_id taskid exact False N/A test_name_matches_object_identical_list N/A N/A self N/A N/A One N/A N/A utils RandomNameGeneratorMixin N/A N/A name_matches_object N/A N/A mock Mock return_value False N/A Two N/A N/A utils RandomNameGeneratorMixin N/A N/A name_matches_object N/A N/A mock Mock return_value False N/A N/A name foo N/A N/A N/A self assertFalse N/A N/A utils name_matches_object name One Two N/A N/A N/A self assertItemsEqual N/A N/A N/A One name_matches_object call_args_list N/A N/A Two name_matches_object call_args_list N/A N/A N/A mock call name N/A test_name_matches_object_differing_list N/A N/A self N/A N/A One N/A N/A utils RandomNameGeneratorMixin N/A N/A name_matches_object N/A N/A mock Mock return_value False N/A Two N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT foo_XXX_XXX N/A name_matches_object N/A N/A mock Mock return_value False N/A Three N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_ALLOWED_CHARACTERS 12345 N/A name_matches_object N/A N/A mock Mock return_value False N/A Four N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT bar_XXX_XXX N/A RESOURCE_NAME_ALLOWED_CHARACTERS abcdef N/A name_matches_object N/A N/A mock Mock return_value False N/A N/A classes N/A One Two Three Four N/A name foo N/A N/A N/A self assertFalse N/A N/A utils name_matches_object name classes N/A cls classes N/A N/A N/A N/A N/A cls name_matches_object assert_called_once_with name N/A test_cls_name_matches_object_identity N/A N/A self N/A N/A N/A generator N/A N/A utils RandomNameGeneratorMixin N/A N/A generator task N/A uuid faketask N/A N/A N/A self assertTrue N/A N/A generator name_matches_object N/A N/A generator generate_random_name N/A N/A N/A self assertTrue N/A N/A N/A utils RandomNameGeneratorMixin name_matches_object N/A N/A generator generate_random_name N/A test_name_matches_object_identity N/A N/A self N/A N/A N/A generator N/A N/A utils RandomNameGeneratorMixin N/A N/A generator task N/A uuid faketask N/A N/A N/A self assertTrue N/A N/A utils name_matches_object N/A N/A generator generate_random_name generator N/A N/A N/A self assertTrue N/A N/A utils name_matches_object N/A N/A generator generate_random_name N/A utils RandomNameGeneratorMixin N/A test_consistent_task_id_part N/A N/A self N/A N/A FakeNameGenerator N/A N/A utils RandomNameGeneratorMixin N/A N/A RESOURCE_NAME_FORMAT XXXXXXXX_XXXXXXXX N/A N/A generator N/A FakeNameGenerator N/A N/A generator task N/A uuid good-task-id N/A names N/A N/A N/A generator generate_random_name N/A i N/A range 100 N/A task_id_parts N/A set N/A N/A N/A N/A n split _ N/A 0 N/A n names N/A N/A N/A self assertEqual N/A len task_id_parts 1 N/A N/A generator task N/A uuid bogus! task! id! N/A names N/A N/A N/A generator generate_random_name N/A i N/A range 100 N/A task_id_parts N/A set N/A N/A N/A N/A n split _ N/A 0 N/A n names N/A N/A N/A self assertEqual N/A len task_id_parts 1 N/A N/A N/A ddt ddt MergeTestCase N/A N/A test TestCase N/A test_merge N/A N/A self sources expected_output N/A N/A N/A in_iters N/A N/A iter src N/A src sources N/A out N/A list N/A N/A utils merge 10 in_iters N/A N/A N/A self assertEqual out expected_output N/A N/A N/A ddt data N/A sources expected_output N/A N/A N/A 1 3 5 N/A 5 7 9 14 N/A 17 21 36 41 N/A N/A 2 2 4 N/A 9 10 N/A 16 19 23 26 91 N/A N/A 5 N/A 5 7 11 14 14 19 23 N/A N/A 1 2 2 3 4 5 5 5 5 7 N/A 7 9 9 10 11 14 14 14 16 17 N/A 19 19 21 23 23 26 36 41 91 N/A sources expected_output N/A N/A N/A 1 3 5 N/A 5 7 9 14 N/A 17 21 36 41 N/A N/A 2 2 4 N/A 9 10 N/A 16 19 23 26 91 N/A N/A 5 N/A 5 7 11 14 14 19 23 N/A N/A N/A 1 2 2 3 4 5 5 5 5 7 N/A 7 9 9 10 11 14 14 14 16 17 N/A 19 19 21 23 23 26 36 41 91 N/A sources expected_output N/A N/A N/A 1 3 5 N/A 5 7 9 14 N/A 17 21 36 41 N/A N/A 2 2 4 N/A 9 10 N/A 16 19 23 26 91 N/A N/A 5 N/A 5 7 11 14 14 19 23 N/A N/A N/A N/A 1 2 2 3 4 5 5 5 5 7 N/A 7 9 9 10 11 14 14 14 16 17 N/A 19 19 21 23 23 26 36 41 91 N/A sources expected_output N/A N/A N/A 1 3 5 N/A N/A N/A 5 7 9 14 N/A 17 21 36 41 N/A N/A N/A 2 2 4 N/A 9 10 N/A 16 19 23 26 91 N/A N/A 5 N/A 5 7 11 14 14 19 23 N/A N/A N/A 1 2 2 3 4 5 5 5 5 7 N/A 7 9 9 10 11 14 14 14 16 17 N/A 19 19 21 23 23 26 36 41 91 N/A sources expected_output N/A N/A N/A 1 3 5 N/A 5 7 9 14 N/A 17 21 36 41 N/A N/A 1 3 5 5 7 9 14 17 21 36 N/A 41 N/A sources expected_output N/A N/A N/A sources expected_output N/A N/A N/A N/A N/A N/A N/A ddt unpack N/A N/A ddt ddt TimeoutThreadTestCase N/A N/A test TestCase N/A test_timeout_thread N/A N/A self N/A N/A N/A Create and kill thread by timeout.

        This single test covers 3 methods: terminate_thread, timeout_thread,
        and interruptable_sleep.

        This test is more like integrated then unit, but it is much better
        then unreadable 500 lines of mocking and checking.
         N/A queue N/A N/A Queue Queue N/A killer_thread N/A N/A threading Thread target N/A utils timeout_thread args N/A queue N/A test_thread N/A N/A threading Thread target N/A utils interruptable_sleep args N/A 30 0.01 N/A N/A N/A test_thread start N/A start_time N/A N/A time time N/A N/A N/A queue put N/A N/A test_thread ident N/A start_time 1 N/A N/A N/A killer_thread start N/A N/A N/A test_thread join N/A end_time N/A N/A time time N/A N/A N/A queue put N/A None None N/A N/A N/A killer_thread join N/A time_elapsed N/A end_time start_time N/A N/A N/A self assertTrue N/A time_elapsed 11 N/A Thread killed too late (%s seconds) time_elapsed N/A N/A