Fixed: commit date format

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-08-04 11:53:54 +02:00
parent 41108533c9
commit 5277051f51
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

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