diff --git a/test/run_time_machine.py b/test/run_time_machine.py index 6463c42e..c434470f 100755 --- a/test/run_time_machine.py +++ b/test/run_time_machine.py @@ -1,6 +1,12 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +""" +Test script, for simulating different date and time. +This is useful for testing the transition from one playlist to another, +specially when the day_start time is in the night. +""" + import datetime import os import sys diff --git a/test/run_time_warp.py b/test/run_time_warp.py index 822d72a3..e942ce35 100755 --- a/test/run_time_warp.py +++ b/test/run_time_warp.py @@ -1,6 +1,13 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +""" +Test script, for simulating speed up the clock. +With the WARP_FACTOR you can transform a second to a fraction. +With this functionality it is possible to run a 24 hours playlist in a minute, +and debug the playlist reader. +""" + import datetime import os import sys