def service(service_config): service = make_example2_service(service_config) root = service.get(service.root_uri, [EXAMPLE.Group2]) assert isinstance(root, Group2Implementation) root.create_new_simple_item("foo") yield service unregister_service(service)
def teardown(self): if self.items is not None: for i in self.items: try: i.delete() except: pass del self.items if self.root is not None: del self.root if self.service is not None: unregister_service(self.service) del self.service
def teardown(self): if self.root is not None: del self.root if self.service is not None: unregister_service(self.service) del self.service
def teardown(self): if self.my_ktbs is not None: unregister_service(self.my_ktbs.service)
def teardown(self): if self.service is not None: unregister_service(self.service) self.service = None if self.my_ktbs is not None: self.my_ktbs = None
def tearDown(self): if self.my_ktbs is not None: unregister_service(self.my_ktbs.service)
def tearDown(self): if self.service is not None: unregister_service(self.service) self.service = None if self.my_ktbs is not None: self.my_ktbs = None
def tearDown(self): KtbsTestCase.tearDown(self) unregister_builtin_method_impl(self.method_impl) unregister_service(self.error_method_service)
def tearDown(self): if self.app is not None: del self.app if self.service is not None: unregister_service(self.service) del self.service
def tearDown(self): if self.root is not None: del self.root if self.service is not None: unregister_service(self.service) del self.service