Commit 85d50063 authored by Guido Gunther's avatar Guido Gunther
Browse files

tests: Test for magnetometer

We care about the magnetometer not the gyro for iio-sensor-proxy
parent ed6994c5
def test_gyro():
assert("lsm9ds1_gyro" in open('/sys/class/i2c-adapter/i2c-2/2-006a/iio:device0/name').read())
def test_gyro():
assert("lsm9ds1_magn" in open('/sys/bus/iio/devices/iio:device0/name').read())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment