def test_fill(self):
        self.signals.clear()
        self.buffer.fill("")
        assert self.buffer.lines == []
        assert not "filledBuffer" in self.signals
        assert not "updatedBuffer" in self.signals
        self.buffer.fill("\n")
        assert self.buffer.lines == ["\n"]
        self.buffer.fill("x\n")
        assert self.buffer.lines == ["x\n"]
dataset/ETHPy150Open elmar-hinz/Python.Vii/tests/Buffer_Test.py/Buffer_Test.test_fill/original