Commit 963247fa authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

pytests: add basic test for the torch

parent 0aaebe5d
from . import boardtype
import os
import pytest
@pytest.mark.skipif(not boardtype.is_librem5(), reason="Not a phone")
def test_torch_exists():
assert(os.path.exists('/sys/class/leds/white:torch/brightness'))
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