diff --git a/tests/lib/test_detected_commit.py b/tests/lib/test_detected_commit.py index e9a2b1f..1593013 100644 --- a/tests/lib/test_detected_commit.py +++ b/tests/lib/test_detected_commit.py @@ -1,5 +1,7 @@ import pytest from repo_cloner.lib import DetectedCommit +import os +import time @pytest.fixture @@ -40,6 +42,8 @@ def test_author(det): def test_date(det): + os.environ['TZ'] = 'Europe/Prague' + time.tzset() assert det.date == "04-08-2022, 11:20:38"