From 89c0775adcb148e9c4ee8eab2bb4e435acaeabac Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Thu, 18 Feb 2021 11:29:02 +0100 Subject: [PATCH] add infos --- test/run_multiple_tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/run_multiple_tests.py b/test/run_multiple_tests.py index 858326ae..96ecbb74 100755 --- a/test/run_multiple_tests.py +++ b/test/run_multiple_tests.py @@ -4,6 +4,7 @@ """ Test script, for testing different situations, like: - different day_start times + - different situ where playlist is empty, not long enough or to long """ import json @@ -46,6 +47,7 @@ def run_time(seconds): print(f'run test for {seconds} seconds...') sleep(seconds) terminate_processes() + print('terminated successfully') terminator = Thread(name='timer', target=timer, args=(seconds,)) terminator.daemon = True @@ -92,12 +94,12 @@ def run_with_no_elements(time_tuple): if __name__ == '__main__': from ffplayout.output import desktop - from ffplayout.utils import (_playlist, terminate_processes) + from ffplayout.utils import _playlist, terminate_processes print('\ntest playlists, which are empty') _playlist.start = 0 run_time(140) - run_with_no_elements((2021, 2, 15, 23, 59, 33)) + run_with_no_elements((2021, 2, 15, 23, 59, 53)) print_separater()