mirror of
https://gitlab.com/openlp/openlp_api_tester.git
synced 2024-12-22 04:22:48 +00:00
Timing Cleanups
This commit is contained in:
parent
3f232728a1
commit
670c658dc6
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
|
@ -82,5 +82,4 @@ step17:
|
||||
payload:
|
||||
plugin: bibles
|
||||
step18:
|
||||
delay: 0.1
|
||||
name: load_service_sequential
|
||||
|
@ -82,5 +82,4 @@ step17:
|
||||
payload:
|
||||
plugin: bibles
|
||||
step18:
|
||||
delay: 0.1
|
||||
name: load_service_random
|
||||
|
@ -13,11 +13,9 @@ step3:
|
||||
payload:
|
||||
plugin: media
|
||||
step4:
|
||||
delay: 0.1
|
||||
name: load_service_sequential
|
||||
step5:
|
||||
delay: 30
|
||||
name: flush_pending
|
||||
step6:
|
||||
delay: 0.2
|
||||
name: media_pause
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
process_name: Pause Media
|
||||
step1:
|
||||
delay: 0.2
|
||||
name: media_pause
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
process_name: Play Media
|
||||
step1:
|
||||
delay: 0.2
|
||||
name: media_play
|
||||
name: media_play
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
process_name: Stop Media
|
||||
step1:
|
||||
delay: 0.2
|
||||
name: media_stop
|
||||
name: media_stop
|
||||
|
@ -22,5 +22,4 @@ step5:
|
||||
payload:
|
||||
plugin: bibles
|
||||
step6:
|
||||
delay: 0.1
|
||||
name: load_service_sequential
|
||||
|
@ -1,5 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
|
@ -1,5 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
@ -26,8 +25,7 @@ import yaml
|
||||
from collections import deque
|
||||
from websocket import create_connection
|
||||
|
||||
from test_api.apitest.logger import print_error, print_ok, print_info
|
||||
from test_api.apitest.logger import print_debug
|
||||
from test_api.apitest.logger import print_error, print_ok, print_info, print_debug
|
||||
|
||||
from test_api.apitest.callbacks import * # noqa E403
|
||||
|
||||
@ -115,7 +113,6 @@ class RunTestsController(object):
|
||||
a = parser.parse_args()
|
||||
with open(a.rargs[0], 'r') as file:
|
||||
commands = yaml.load(file, Loader=yaml.FullLoader)
|
||||
|
||||
for step in commands:
|
||||
if step == 'process_name':
|
||||
print_info(f'Processing file {commands[step]}')
|
||||
|
@ -1,5 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
@ -48,7 +47,7 @@ class Task(object):
|
||||
try:
|
||||
human_delay(self.request['delay'])
|
||||
except KeyError:
|
||||
pass
|
||||
human_delay(0.3)
|
||||
try:
|
||||
self.caller.check_websocket_changes(self.request['max'], self.request['min'])
|
||||
except KeyError:
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
|
@ -1,6 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
|
Loading…
Reference in New Issue
Block a user