def test_format(self): """Format should just work...""" s = MockSerial([b"", b"file.format()\r\n", b"file.format()\r\n"]) n = NodeMCU(s) n.format() assert s.finished