def test_exports_known_commands(self):
     d = PseudoDevice(port=4)
     for cmd in d.showCommandList():
         assert cmd in command_list
         command_list.remove(cmd)
     assert len(command_list) == 0
 def test_device_type(self):
     d = PseudoDevice(port=4)
     assert d.showType() == "PseudoDevice"