def METHOD_NAME(self):
    update = RpmBuild.query.filter_by(nvr='bodhi-2.0-1.fc17').one().update
    res = self.app.get('/builds/', {"updates": [update.alias]})
    up = res.json_body['builds'][0]
    assert up['nvr'] == 'bodhi-2.0-1.fc17'