def test_short_file(self):
        """ The file is shorter than the number of lines we request """
        with temp() as f:
            for i in range(3):
                f.write("%d\n" % i)

            multitail._seek_to_n_lines_from_end(f, 100)
            assert_equal(3, len(f.readlines()))
dataset/ETHPy150Open thobbs/multitail-curses/test.py/TestSeeking.test_short_file/original