Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad ClassDef bases AttributeLoad NameLoad attr body ClassDef bases NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str decorator_list decorator_list Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad For NameStore SubscriptLoad NameLoad Index Str body If UnaryOpNot Call NameLoad NameLoad Str body Continue ClassDef bases AttributeLoad NameLoad attr body ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Num Num Num Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A factory rest_framework test status nodeconductor.openstack.tests.factories InstanceFactory nodeconductor.structure SupportedServices nodeconductor.structure.models CustomerRole Resource nodeconductor.structure.tests factories ResourceQuotasTest N/A N/A test APITransactionTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self user N/A N/A factories UserFactory N/A N/A self customer N/A N/A factories CustomerFactory N/A N/A N/A N/A self customer add_user N/A self user N/A CustomerRole OWNER N/A N/A self project N/A N/A factories ProjectFactory customer N/A self customer N/A test_auto_quotas_update N/A N/A self N/A N/A N/A service_type OpenStack N/A models N/A N/A N/A SupportedServices get_service_models N/A service_type N/A settings N/A N/A factories ServiceSettingsFactory customer N/A self customer type service_type shared False ServiceFactory N/A N/A factory DjangoModelFactory N/A Meta N/A object N/A N/A model N/A models N/A service N/A N/A ServiceProjectLinkFactory N/A N/A factory DjangoModelFactory N/A Meta N/A object N/A N/A model N/A models N/A service_project_link N/A N/A N/A service N/A ServiceFactory customer N/A self customer settings settings N/A resource_model N/A models N/A resources N/A N/A N/A N/A hasattr resource_model update_quota_usage N/A N/A ResourceFactory N/A N/A factory DjangoModelFactory N/A Meta N/A object N/A N/A model resource_model N/A N/A N/A data N/A cores ram disk 4 1024 20480 N/A service_project_link N/A ServiceProjectLinkFactory service service project N/A self project N/A resource N/A ResourceFactory service_project_link service_project_link cores N/A data N/A cores N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name instances usage 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name vcpu usage N/A data N/A cores N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name ram usage 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name storage usage 0 N/A N/A resource ram N/A data N/A ram N/A N/A resource disk N/A data N/A disk N/A N/A N/A resource save N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name ram usage N/A data N/A ram N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name storage usage N/A data N/A disk N/A N/A N/A resource delete N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name instances usage 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name vcpu usage 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name ram usage 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A service_project_link quotas get name storage usage 0 N/A N/A ResourceRemovalTest N/A N/A test APITransactionTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self user N/A N/A factories UserFactory is_staff True N/A N/A N/A N/A self client force_authenticate user N/A self user N/A test_vm_unlinked_immediately_anyway N/A N/A self N/A N/A N/A vm N/A InstanceFactory state N/A N/A Resource States PROVISIONING_SCHEDULED N/A url N/A N/A InstanceFactory get_url vm unlink N/A response N/A N/A N/A self client post url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_204_NO_CONTENT N/A response data N/A test_vm_without_backend_id_removed_immediately N/A N/A self N/A N/A N/A vm N/A InstanceFactory state N/A N/A Resource States OFFLINE N/A url N/A N/A InstanceFactory get_url vm N/A response N/A N/A N/A self client delete url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_204_NO_CONTENT N/A response data N/A test_vm_with_backend_id_scheduled_to_deletion N/A N/A self N/A N/A N/A vm N/A InstanceFactory state N/A N/A Resource States OFFLINE backend_id 123 N/A url N/A N/A InstanceFactory get_url vm N/A response N/A N/A N/A self client delete url N/A N/A N/A self assertEqual N/A response status_code N/A status HTTP_202_ACCEPTED N/A response data N/A N/A