def METHOD_NAME(self):
    with session.begin():
        self.job.recipesets[0].recipes[0].logs[0].filename = u'idontexist.txt'
    out = run_client(['bkr', 'job-logs', '--size', self.job.t_id])
    lines = out.splitlines()
    self.assertEquals(lines[0], '<missing> %srecipes/%s/logs/R/idontexist.txt' %
            (get_server_base(), self.recipe.id))