def METHOD_NAME(self):
    self.setUpEndpoint()
    self.db.insert_test_data([
        fakedb.Builder(id=77),
        fakedb.Worker(id=13, name='wrk'),
        fakedb.Master(id=88),
        fakedb.Buildset(id=8822),
        fakedb.BuildRequest(id=82, buildsetid=8822),
        fakedb.Build(id=13, builderid=77, masterid=88, workerid=13,
                     buildrequestid=82, number=3),
        fakedb.Step(id=50, buildid=13, number=9, name='make'),
        fakedb.Log(id=60, stepid=50, name='stdio', slug='stdio', type='s',
                   num_lines=7),
        fakedb.LogChunk(logid=60, first_line=0, last_line=1, compressed=0,
                        content=textwrap.dedent("""\
                    line zero
                    line 1""")),
        fakedb.LogChunk(logid=60, first_line=2, last_line=4, compressed=0,
                        content=textwrap.dedent("""\
                    line TWO
                    line 3
                    line 2**2""")),
        fakedb.LogChunk(logid=60, first_line=5, last_line=5, compressed=0,
                        content="another line"),
        fakedb.LogChunk(logid=60, first_line=6, last_line=6, compressed=0,
                        content="yet another line"),
        fakedb.Log(id=61, stepid=50, name='errors', slug='errors',
                   type='t', num_lines=100),
    ] + [
        fakedb.LogChunk(logid=61, first_line=i, last_line=i, compressed=0,
                        content=f"{i:08d}")
        for i in range(100)
    ] + [
        fakedb.Log(id=62, stepid=50, name='notes', slug='notes', type='t',
                   num_lines=0),
        # logid 62 is empty
    ])