from.importboardtypeimportosimportpytest@pytest.mark.skipif(notboardtype.is_librem5(),reason="Not a phone")deftest_status_led_exists():assert(os.path.exists('/sys/class/leds/red:status/brightness'))assert(os.path.exists('/sys/class/leds/green:status/brightness'))assert(os.path.exists('/sys/class/leds/blue:status/brightness'))