Timing Cleanups

This commit is contained in:
Tim 2020-10-04 19:47:01 +01:00
parent 3f232728a1
commit 670c658dc6
No known key found for this signature in database
GPG Key ID: 3D454289AF831A6D
13 changed files with 4 additions and 22 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##########################################################################
# OpenLP - Open Source Lyrics Projection #
# ---------------------------------------------------------------------- #

View File

@ -82,5 +82,4 @@ step17:
payload:
plugin: bibles
step18:
delay: 0.1
name: load_service_sequential

View File

@ -82,5 +82,4 @@ step17:
payload:
plugin: bibles
step18:
delay: 0.1
name: load_service_random

View File

@ -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

View File

@ -1,5 +1,4 @@
---
process_name: Pause Media
step1:
delay: 0.2
name: media_pause

View File

@ -1,5 +1,4 @@
---
process_name: Play Media
step1:
delay: 0.2
name: media_play

View File

@ -1,5 +1,4 @@
---
process_name: Stop Media
step1:
delay: 0.2
name: media_stop

View File

@ -22,5 +22,4 @@ step5:
payload:
plugin: bibles
step6:
delay: 0.1
name: load_service_sequential

View File

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
##########################################################################
# OpenLP - Open Source Lyrics Projection #
# ---------------------------------------------------------------------- #

View File

@ -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]}')

View File

@ -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:

View File

@ -1,6 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##########################################################################
# OpenLP - Open Source Lyrics Projection #
# ---------------------------------------------------------------------- #

View File

@ -1,6 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##########################################################################
# OpenLP - Open Source Lyrics Projection #
# ---------------------------------------------------------------------- #