def METHOD_NAME(self):
    with session.begin():
        task = data_setup.create_task()
        task.destructive = None
    out = run_client(['bkr', 'task-details', task.name])
    details = eval(out[len(task.name) + 1:]) # XXX dodgy
    self.assertEquals(details['destructive'], None)
    # output in xml format
    out = run_client(['bkr', 'task-details', '--xml', task.name])
    task_elem = lxml.etree.fromstring(re.sub(task.name, '', out, count=1))
    self.assert_(task_elem.get('destructive') == None)