serial_mock (pypi): mocks serial ports for use with com0com(windows) or socat(*nix)
Keywords: mock|serialport|test|fake|dummy