Module Import alias Import alias Import alias ImportFrom alias Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr 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 Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword ListLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A datetime N/A mock N/A testtools openstack.telemetry.v2 statistics N/A EXAMPLE N/A aggregate avg count duration duration_end duration_start groupby max min period period_end period_start sum unit 1 2 3 4 2015-03-09T12:45:00.000000 2015-03-09T12:15:00.000000 7 8 9 10 2015-03-09T12:45:00.000000 2015-03-09T12:15:00.000000 13 14 TestStatistics N/A N/A testtools TestCase N/A test_basic N/A N/A self N/A N/A N/A sot N/A N/A statistics Statistics N/A N/A N/A self assertEqual statistics N/A sot resource_key N/A N/A N/A self assertIsNone N/A sot resources_key N/A N/A N/A self assertEqual /meters/%(meter_name)s/statistics N/A sot base_path N/A N/A N/A self assertEqual metering N/A N/A sot service service_type N/A N/A N/A self assertFalse N/A sot allow_create N/A N/A N/A self assertFalse N/A sot allow_retrieve N/A N/A N/A self assertFalse N/A sot allow_update N/A N/A N/A self assertFalse N/A sot allow_delete N/A N/A N/A self assertTrue N/A sot allow_list N/A test_make_it N/A N/A self N/A N/A N/A sot N/A N/A statistics Statistics EXAMPLE N/A N/A N/A self assertIsNone N/A sot id N/A N/A N/A self assertEqual N/A EXAMPLE N/A aggregate N/A sot aggregate N/A N/A N/A self assertEqual N/A EXAMPLE N/A avg N/A sot avg N/A N/A N/A self assertEqual N/A EXAMPLE N/A count N/A sot count N/A N/A N/A self assertEqual N/A EXAMPLE N/A duration N/A sot duration N/A dt N/A N/A N/A N/A datetime datetime 2015 3 9 12 45 0 0 replace tzinfo None N/A N/A N/A self assertEqual dt N/A N/A N/A sot duration_end_at replace tzinfo None N/A dt N/A N/A N/A N/A datetime datetime 2015 3 9 12 15 0 0 replace tzinfo None N/A N/A N/A self assertEqual dt N/A N/A N/A sot duration_start_at replace tzinfo None N/A N/A N/A self assertEqual N/A EXAMPLE N/A groupby N/A sot group_by N/A N/A N/A self assertEqual N/A EXAMPLE N/A max N/A sot max N/A N/A N/A self assertEqual N/A EXAMPLE N/A min N/A sot min N/A N/A N/A self assertEqual N/A EXAMPLE N/A period N/A sot period N/A dt N/A N/A N/A N/A datetime datetime 2015 3 9 12 45 0 0 replace tzinfo None N/A N/A N/A self assertEqual dt N/A N/A N/A sot period_end_at replace tzinfo None N/A dt N/A N/A N/A N/A datetime datetime 2015 3 9 12 15 0 0 replace tzinfo None N/A N/A N/A self assertEqual dt N/A N/A N/A sot period_start_at replace tzinfo None N/A N/A N/A self assertEqual N/A EXAMPLE N/A sum N/A sot sum N/A N/A N/A self assertEqual N/A EXAMPLE N/A unit N/A sot unit N/A test_list N/A N/A self N/A N/A N/A sess N/A N/A mock Mock N/A resp N/A N/A mock Mock N/A N/A resp json N/A N/A mock Mock return_value N/A EXAMPLE N/A N/A sess get N/A N/A mock Mock return_value resp N/A args N/A meter_name example N/A reply N/A N/A N/A statistics Statistics list sess path_args args N/A url /meters/example/statistics N/A stat N/A next reply N/A N/A N/A N/A sess get assert_called_with url endpoint_filter N/A stat service params N/A N/A N/A N/A self assertEqual EXAMPLE stat N/A N/A N/A self assertRaises StopIteration next reply N/A N/A