def test_decorated_task(self):
    """Simple test to verify that decorated tasks have been registered."""
    task_name = task_registry.get_registered_task('decorated_task')
    self.assertIsNotNone(task_name)
    self.assertEqual(task_name.__name__, 'DecoratedTask')
Simple test to verify that decorated tasks have been registered.
language/mentionmemory/tasks/task_registry_test.py