~aleteoryx/muditaos

ref: 873e3616208b4a7eb9da30b07282c9f1aeff2aa5 muditaos/test/phone_unlock.py -rw-r--r-- 304 bytes
873e3616 — Bartosz [MOS-847] Fix auto-lock preventing 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

# unlock Desktop
from harness.harness import Harness

harness = Harness.from_detect()


@harness.with_phone_unlocked
def done(connection):
    pass