def test_repr(): data = get_test_data() packet = EmotivPacket(data) # tests #214 assert packet.battery == None print(packet)
def test_init(): data = get_test_data() packet = EmotivPacket(data) for sensor in sensor_bits.keys(): assert sensor in packet.sensors.keys()