Esempio n. 1
0
 def setUpClass(cls):
     super(PackageBase, cls).setUpClass()
     cls.mockapp_id = utils.upload_app_package(
         cls.murano_client,
         "MockApp",
         {"categories": ["Web"], "tags": ["tag"]})
     cls.postgre_id = utils.upload_app_package(
         cls.murano_client,
         "PostgreSQL",
         {"categories": ["Databases"], "tags": ["tag"]})
Esempio n. 2
0
 def setUpClass(cls):
     super(PackageBase, cls).setUpClass()
     cls.mockapp_id = utils.upload_app_package(cls.murano_client, "MockApp",
                                               {
                                                   "categories": ["Web"],
                                                   "tags": ["tag"]
                                               })
     cls.postgre_id = utils.upload_app_package(
         cls.murano_client, "PostgreSQL", {
             "categories": ["Databases"],
             "tags": ["tag"]
         })
Esempio n. 3
0
 def setUpClass(cls):
     super(PackageBase, cls).setUpClass()
     cls.mockapp_id = utils.upload_app_package(
         cls.murano_client,
         "MockApp",
         {"categories": ["Web"], "tags": ["tag"]})
     cls.postgre_id = utils.upload_app_package(
         cls.murano_client,
         "PostgreSQL",
         {"categories": ["Databases"], "tags": ["tag"]})
     cls.hot_app_id = utils.upload_app_package(
         cls.murano_client,
         "HotExample",
         {"tags": ["hot"]}, hot=True)
     cls.deployingapp_id = utils.upload_app_package(
         cls.murano_client,
         "DeployingApp",
         {"categories": ["Web"], "tags": ["tag"]},
         hot=False,
         package_dir=consts.DeployingPackageDir)
Esempio n. 4
0
 def upload_package(cls, name, data, **kwargs):
     package = utils.upload_app_package(cls.murano_client, name, data,
                                        **kwargs)
     cls.packages.append(package)
     return package
Esempio n. 5
0
 def upload_package(cls, name, data, **kwargs):
     package = utils.upload_app_package(cls.murano_client, name, data,
                                        **kwargs)
     cls.packages.append(package)
     return package