Merge branch 'updates' of gitlab.com:trb143/openlp_api_tester into updates

This commit is contained in:
Tim 2022-02-12 22:04:20 +00:00
commit a5be688755
No known key found for this signature in database
GPG Key ID: E95CE08DB3F50537
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,4 @@
python3-colorama==0.4.3
websocket-client~=1.2.3
zeroconf~=0.36.9
colorama~=0.4.4
PyYAML~=3.13
requests~=2.27.0
requests~=2.27.0

7
test_api/temp.py Normal file
View File

@ -0,0 +1,7 @@
import json
with open('/home/tim/Projects/OpenLP/openlp_api_tester/scripts/alert.yaml', 'r') as file:
commands = json.load(file) #, Loader=yaml.BaseLoader)
print(commands)
for step in commands:
print(step)