Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A django.test TestCase nodeconductor.iaas.tests factories nodeconductor.structure.tests factories structure_factories LicenseTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A 
        In setup we will create:
        license, template, instance, project and project role.
         N/A N/A self license N/A N/A factories TemplateLicenseFactory N/A N/A self template N/A N/A factories TemplateFactory N/A N/A N/A N/A N/A self license templates add N/A self template N/A N/A self project N/A N/A structure_factories ProjectFactory N/A N/A self project_group N/A N/A structure_factories ProjectGroupFactory N/A N/A N/A N/A N/A self project_group projects add N/A self project N/A N/A self cloud N/A N/A factories CloudFactory N/A N/A N/A factories CloudProjectMembershipFactory cloud N/A self cloud project N/A self project N/A N/A self image N/A N/A factories ImageFactory cloud N/A self cloud template N/A self template N/A test_get_projects N/A N/A self N/A N/A N/A N/A N/A structure_factories ProjectFactory N/A N/A N/A self assertSequenceEqual N/A N/A N/A self license get_projects N/A N/A self project N/A test_get_projects_groups N/A N/A self N/A N/A N/A N/A N/A structure_factories ProjectGroupFactory N/A N/A N/A self assertSequenceEqual N/A N/A N/A self license get_projects_groups N/A N/A self project_group N/A N/A InstanceTest N/A TestCase N/A test_init_instance_licenses N/A N/A self N/A N/A N/A template N/A N/A factories TemplateFactory N/A template_license N/A N/A factories TemplateLicenseFactory N/A N/A N/A N/A template template_licenses add template_license N/A instance N/A N/A factories InstanceFactory template template N/A N/A N/A self assertEqual N/A N/A N/A instance instance_licenses count 1 N/A instance_license N/A N/A N/A N/A instance instance_licenses all N/A 0 N/A N/A N/A self assertEqual N/A instance_license template_license template_license N/A N/A