def test_add_app_infos_02(self): try: self.app_tt.add_app_infos({"bla":"bbbbb"}) app = pbclient.get_app(self.app_tt.app_id) self.assertTrue(app.info.has_key("bla")) except Meb_apps_exception as e: assert False
def test_set_name_01(self): try: self.app_tt.set_name("name2") appPB = pbclient.get_app(self.app_tt.app_id) self.assertTrue(appPB.name == "name2") except Meb_apps_exception as e: assert False
def test_set_long_description_01(self): try: content_l_desc1 = "long description content 1" self.app_tt.set_long_description(content_l_desc1) app = pbclient.get_app(self.app_tt.app_id) self.assertEquals(app.long_description, content_l_desc1) except Meb_apps_exception as e: assert False
def test_set_template_01(self): try: content1 = "template content 1" self.app_tt.set_template(content1) app = pbclient.get_app(self.app_tt.app_id) self.assertEquals(app.info["task_presenter"], content1) except Meb_apps_exception as e: assert False