def METHOD_NAME(self):
    # First, stuff a second build in there
    session = self.db
    build = RpmBuild(nvr='bodhi-3.0-1.fc21',
                     package=RpmPackage.query.filter_by(name='bodhi').one())
    session.add(build)
    session.flush()
    # Then, test pagination
    res = self.app.get('/builds/', {"rows_per_page": 1})
    body = res.json_body
    assert len(body['builds']) == 1
    build1 = body['builds'][0]
    res = self.app.get('/builds/', {"rows_per_page": 1, "page": 2})
    body = res.json_body
    assert len(body['builds']) == 1
    build2 = body['builds'][0]
    assert build1 != build2