Example #1
0
def test_repr():
    data = get_test_data()
    packet = EmotivPacket(data)

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