Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num For NameStore NameLoad body Assign NameStore Dict Str Str Str Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Num AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Num AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str decorator_list decorator_list
N/A N/A datetime nailgun.test.base BaseTestCase nailgun consts nailgun.objects OpenStackWorkloadStats nailgun.objects OpenStackWorkloadStatsCollection nailgun.settings settings TestOSWLObject N/A BaseTestCase N/A test_oswl_get_last_by_cluster_id_resource_type N/A N/A self N/A N/A N/A cluster_id 1 N/A dt N/A N/A N/A datetime datetime utcnow N/A obj_data N/A cluster_id resource_type created_date updated_time resource_checksum cluster_id N/A N/A consts OSWL_RESOURCE_TYPES vm N/A N/A dt date N/A N/A dt time N/A obj N/A N/A OpenStackWorkloadStats create obj_data N/A N/A N/A self assertEqual N/A N/A OpenStackWorkloadStats get_last_by cluster_id N/A N/A consts OSWL_RESOURCE_TYPES vm obj N/A N/A N/A self assertIsNone N/A N/A OpenStackWorkloadStats get_last_by 0 N/A N/A consts OSWL_RESOURCE_TYPES vm N/A N/A N/A self assertIsNone N/A N/A OpenStackWorkloadStats get_last_by cluster_id N/A N/A consts OSWL_RESOURCE_TYPES tenant N/A N/A N/A OpenStackWorkloadStats delete obj N/A N/A N/A self assertIsNone N/A N/A OpenStackWorkloadStats get_last_by cluster_id N/A N/A consts OSWL_RESOURCE_TYPES vm N/A test_clean_expired_entries N/A N/A self N/A N/A N/A dt_now N/A N/A N/A datetime datetime utcnow N/A t_delta N/A N/A datetime timedelta days N/A settings OSWL_STORING_PERIOD N/A entries_to_del_cluster_ids N/A 1 2 N/A cluster_id entries_to_del_cluster_ids N/A N/A obj_kwargs N/A cluster_id resource_type updated_time created_date resource_checksum cluster_id N/A N/A consts OSWL_RESOURCE_TYPES volume N/A N/A dt_now time N/A N/A N/A dt_now date t_delta N/A N/A N/A OpenStackWorkloadStats create obj_kwargs N/A untouched_obj_kwargs N/A cluster_id resource_type updated_time created_date resource_checksum 3 N/A N/A consts OSWL_RESOURCE_TYPES vm N/A N/A dt_now time N/A N/A dt_now date N/A N/A N/A OpenStackWorkloadStats create untouched_obj_kwargs N/A N/A N/A OpenStackWorkloadStatsCollection clean_expired_entries N/A N/A N/A N/A self db commit N/A cluster_id entries_to_del_cluster_ids N/A N/A instance N/A N/A OpenStackWorkloadStats get_last_by cluster_id N/A N/A consts OSWL_RESOURCE_TYPES volume N/A N/A N/A self assertIsNone instance N/A untouched_obj N/A N/A OpenStackWorkloadStats get_last_by N/A untouched_obj_kwargs N/A cluster_id N/A N/A consts OSWL_RESOURCE_TYPES vm N/A N/A N/A self assertIsNotNone untouched_obj N/A test_version_info_serialized N/A N/A self N/A N/A N/A version_info N/A release 9.0 N/A dt N/A N/A N/A datetime datetime utcnow N/A obj N/A N/A OpenStackWorkloadStats create N/A cluster_id resource_type created_date updated_time resource_checksum version_info 1 N/A N/A consts OSWL_RESOURCE_TYPES vm N/A N/A dt date N/A N/A dt time version_info N/A N/A N/A self assertEqual version_info N/A N/A N/A OpenStackWorkloadStats to_dict obj N/A version_info N/A N/A