diff --git a/.gitignore b/.gitignore index f3857de9..a98e29b6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ __pycache__/ *-orig.* *.json -tests/ +test/ .pytest_cache/ venv/ log/ diff --git a/test/README.md b/tests/README.md similarity index 100% rename from test/README.md rename to tests/README.md diff --git a/test/run_multiple_tests.py b/tests/run_multiple_tests.py similarity index 100% rename from test/run_multiple_tests.py rename to tests/run_multiple_tests.py diff --git a/test/run_playlist.py b/tests/run_playlist.py similarity index 100% rename from test/run_playlist.py rename to tests/run_playlist.py diff --git a/test/run_time_machine.py b/tests/run_time_machine.py similarity index 95% rename from test/run_time_machine.py rename to tests/run_time_machine.py index 17b7aa85..94a2ed00 100755 --- a/test/run_time_machine.py +++ b/tests/run_time_machine.py @@ -23,7 +23,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # set time zone _TZ = ZoneInfo("Europe/Berlin") # fake date and time -SOURCE_TIME = [2021, 2, 14, 5, 58, 5] +SOURCE_TIME = [2021, 2, 14, 23, 59, 0] @time_machine.travel(datetime.datetime(*SOURCE_TIME, tzinfo=_TZ)) diff --git a/test/run_time_warp.py b/tests/run_time_warp.py similarity index 100% rename from test/run_time_warp.py rename to tests/run_time_warp.py