Files
MuditaOS/test/phone_sim_check.py
Pawel Olejniczak de84e4d1b9 [CP-83] Update tests for unlocking phone and usb
Removed leftovers of old usb security tests implementation.
Added tests for unlocking via security endpoint.
2021-06-08 10:23:21 +02:00

14 lines
334 B
Python

#!/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
from harness.harness import Harness
import sys
harness = Harness(sys.argv[1])
results = harness.connection.send_at("AT+CPIN?", 10000)
for result in results:
print(result)